From: Dana Jansens Date: Wed, 19 Mar 2003 08:19:27 +0000 (+0000) Subject: ignore !normal crossing events X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=4732930eec3b68b18ba0df32903a0251719b943f;p=chaz%2Fopenbox ignore !normal crossing events --- diff --git a/openbox/event.c b/openbox/event.c index 43142e3a..b4bfd9ba 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -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; }