diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-09-24 03:07:10 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-09-24 03:07:10 +0000 |
| commit | 9f03493b0c3d2815625bbcc51ac4da5b72450b69 (patch) | |
| tree | 803f2f040fbb98e7672fef2faae88437268b92f6 /openbox | |
| parent | d261d21b7f030f136ffe257158be4322c0615636 (diff) | |
ignore all NotifyInferior crossing events again
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/event.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/openbox/event.c b/openbox/event.c index 5388e227..a1a09c30 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -303,6 +303,11 @@ static void event_hack_mods(XEvent *e) static gboolean event_ignore(XEvent *e, ObClient *client) { switch(e->type) { + case EnterNotify: + case LeaveNotify: + if (e->xcrossing.detail == NotifyInferior) + return TRUE; + break; case FocusIn: /* NotifyAncestor is not ignored in FocusIn like it is in FocusOut because of RevertToPointerRoot. If the focus ends up reverting to @@ -753,7 +758,6 @@ static void event_handle_client(ObClient *client, XEvent *e) break; case OB_FRAME_CONTEXT_FRAME: if (e->xcrossing.mode == NotifyGrab || - e->xcrossing.detail == NotifyInferior || e->xcrossing.mode == NotifyUngrab) { #ifdef DEBUG_FOCUS |
