summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openbox/event.c4
1 files changed, 4 insertions, 0 deletions
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;
}