From: Dana Jansens Date: Sun, 21 Sep 2003 19:42:01 +0000 (+0000) Subject: ignore ungrab enter notifies for focus X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=eaf9c36c2e2132783d8a6e00513806bf18043b79;p=chaz%2Fopenbox ignore ungrab enter notifies for focus --- 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",