FVWM: Re: fvwm 2.0.45 ready -- first patch.

From: Randall S. Winchester <rsw_at_Glue.umd.edu>
Date: Wed, 22 Jan 1997 17:59:15 -0500 (EST)

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" 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 Wed Jan 22 1997 - 17:00:05 GMT

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