From 4732930eec3b68b18ba0df32903a0251719b943f Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 19 Mar 2003 08:19:27 +0000 Subject: [PATCH] ignore !normal crossing events --- openbox/event.c | 4 ++++ 1 file changed, 4 insertions(+) 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; } -- 2.45.2