summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-27 23:09:22 +0000
committerDana Jansens <danakj@orodu.net>2007-05-27 23:09:22 +0000
commitc53db4460274e9c80a915fe497b8c619da816f95 (patch)
tree8238fc73a33517f3096a91d6df7810fe663404cd /openbox
parentddfddc15e3b0c62e439e2cf682db9a348954863e (diff)
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
Diffstat (limited to 'openbox')
-rw-r--r--openbox/event.c3
1 files changed, 3 insertions, 0 deletions
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))