diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-09-21 19:42:01 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-09-21 19:42:01 +0000 |
| commit | eaf9c36c2e2132783d8a6e00513806bf18043b79 (patch) | |
| tree | ad83aaff92de6b260d054f3ab5eb67c02663088d /openbox/event.c | |
| parent | 227d8b85119d7aa6416b11af56c3ce1f52510f55 (diff) | |
ignore ungrab enter notifies for focus
Diffstat (limited to 'openbox/event.c')
| -rw-r--r-- | openbox/event.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/event.c b/openbox/event.c index c32d8bae..fc82e628 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -739,7 +739,8 @@ static void event_handle_client(ObClient *client, XEvent *e) case OB_FRAME_CONTEXT_FRAME: if (!nofocus && client_normal(client) && config_focus_follow) { if (e->xcrossing.mode == NotifyGrab || - e->xcrossing.detail == NotifyInferior) + e->xcrossing.detail == NotifyInferior || + e->xcrossing.mode == NotifyUngrab) { #ifdef DEBUG_FOCUS ob_debug("%sNotify mode %d detail %d on %lx IGNORED\n", |
