diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-03-19 08:19:27 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-03-19 08:19:27 +0000 |
| commit | 4732930eec3b68b18ba0df32903a0251719b943f (patch) | |
| tree | 96e94a2ef9849141e38e22db72038a0d8b7200a1 | |
| parent | 5c53055ee7e7efc4bc5fae2a7ba6206fa61eac5b (diff) | |
ignore !normal crossing events
| -rw-r--r-- | openbox/event.c | 4 |
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; } |
