]> Dogcows Code - chaz/openbox/commitdiff
ignore !normal crossing events
authorDana Jansens <danakj@orodu.net>
Wed, 19 Mar 2003 08:19:27 +0000 (08:19 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 19 Mar 2003 08:19:27 +0000 (08:19 +0000)
openbox/event.c

index 43142e3a47ffefe81a0341d437c9a8d972b6e4d7..b4bfd9baf73039b2f4e0bc0498d193acdd28d076 100644 (file)
@@ -248,6 +248,10 @@ void event_process(XEvent *e)
     case EnterNotify:
     case LeaveNotify:
        event_lasttime = e->xcrossing.time;
+        /* XXX this caused problems before... but i don't remember why. hah.
+           so back it is. if problems arise again, then try filtering on the
+           detail instead of the mode. */
+        if (e->xcrossing.mode != NotifyNormal) return;
        break;
     }
 
This page took 0.021628 seconds and 4 git commands to generate.