From c53db4460274e9c80a915fe497b8c619da816f95 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 27 May 2007 23:09:22 +0000 Subject: [PATCH] ignore focusout notifyungrab. fix focus bug in firefox where you use gmarks popup and when you go to a page with it, it think focus went to a black hole --- openbox/event.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/openbox/event.c b/openbox/event.c index 9eaec027..bb249086 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -343,6 +343,9 @@ static gboolean wanted_focusevent(XEvent *e, gboolean in_client_only) /* This means focus was taken by a keyboard/mouse grab. */ if (mode == NotifyGrab) return FALSE; + /* This means focus was grabbed on a window and it was released. */ + if (mode == NotifyUngrab) + return FALSE; /* Focus left the root window revertedto state */ if (win == RootWindow(ob_display, ob_screen)) -- 2.45.2