From eaf9c36c2e2132783d8a6e00513806bf18043b79 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 21 Sep 2003 19:42:01 +0000 Subject: [PATCH] ignore ungrab enter notifies for focus --- openbox/event.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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", -- 2.45.2