ignore !normal crossing events

This commit is contained in:
Dana Jansens 2003-03-19 08:19:27 +00:00
parent 5c53055ee7
commit 4732930eec

View file

@ -248,6 +248,10 @@ void event_process(XEvent *e)
case EnterNotify: case EnterNotify:
case LeaveNotify: case LeaveNotify:
event_lasttime = e->xcrossing.time; 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; break;
} }