From: Dana Jansens Date: Sun, 27 May 2007 23:09:22 +0000 (+0000) Subject: ignore focusout notifyungrab. X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=c53db4460274e9c80a915fe497b8c619da816f95;hp=ddfddc15e3b0c62e439e2cf682db9a348954863e;p=chaz%2Fopenbox 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 --- 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))