ignore !normal crossing events
This commit is contained in:
parent
5c53055ee7
commit
4732930eec
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue