Re: FVWM: Re: fvwm 2.0.45 -- possible bug with title bar mouse bindings

From: Makoto MATSUSHITA <matusita_at_ics.es.osaka-u.ac.jp>
Date: Mon, 27 Jan 1997 19:41:10 +0900

grossjohann> And it's different: the two lines work just fine, but the
grossjohann> MouseFocusClickRaises option doesn't do anything.

Apply following patch (it was posted before to this list).

-- -
Makoto `MAR_kun' MATSUSHITA


attached mail follows:




I have to apologize for not catching this. I neglected to send in a patch to
add_window.c for:
       12. Patch to make CLICKTORAISE define be GlobalOpts
           MouseFocusClickRaises option, from Randal Winchester

****Also the credit for this should not go to me. It should be given to;
Markus Gutschke <gutschk_at_uni-muenster.de>

I just tried to make it easier for Chuck to put in the release...

Randall

diff -u -r1.2 add_window.c
--- 1.2 1997/01/22 22:31:52
+++ add_window.c 1997/01/22 22:34:34
_at_@ -622,10 +622,8 @@
                        &a,&b,&JunkChild);
   tmp_win->xdiff -= a;
   tmp_win->ydiff -= b;
-#ifndef CLICKTORAISE
- if(tmp_win->flags & ClickToFocus)
+ if((tmp_win->flags & ClickToFocus) || Scr.MouseFocusClickRaises)
     {
-#endif
      /* need to grab all buttons for window that we are about to
        * unhighlight */
       for(i=0;i<3;i++)
_at_@ -638,9 +636,7 @@
                        ButtonPressMask, GrabModeSync,GrabModeAsync,None,
                        Scr.FvwmCursors[SYS]);
          }
-#ifndef CLICKTORAISE
     }
-#endif
   BroadcastConfig(M_ADD_WINDOW,tmp_win);
 
   BroadcastName(M_WINDOW_NAME,tmp_win->w,tmp_win->frame,




--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-workers-owner_at_hpc.uh.edu.
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Mon Jan 27 1997 - 04:42:33 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:00 BST