FVWM: SloppyFocus and icons

From: Paul Raines <raines_at_SLAC.Stanford.EDU>
Date: Thu, 18 Apr 1996 12:32:24 -0700 (PDT)

I do not think icons should get the focus when the pointer passes over
them in SloppyFocus mode. The following patch seems to fix this for me.


*** events.c.old Thu Apr 11 08:29:24 1996
--- events.c Tue Apr 16 10:06:24 1996
***************
*** 1126,1132 ****
    if (!Tmp_win)
      return;
    
! if(!(Tmp_win->flags & ClickToFocus))
      {
        if(Scr.Focus != Tmp_win)
        {
--- 1126,1132 ----
    if (!Tmp_win)
      return;
    
! if((!(Tmp_win->flags & ClickToFocus))&&(!(Tmp_win->flags & ICONIFIED)))
      {
        if(Scr.Focus != Tmp_win)
        {



--
_________________________________________________________________________
Paul Raines               raines_at_slac.stanford.edu           415-926-4198
Stanford Linear Accelerator    End Station A           E143 Collaboration
http://www.slac.stanford.edu/~raines/index.html  <======== PGP public key
--
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 Thu Apr 18 1996 - 14:30:48 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:58 BST