diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-05-27 23:09:22 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-05-27 23:09:22 +0000 |
| commit | c53db4460274e9c80a915fe497b8c619da816f95 (patch) | |
| tree | 8238fc73a33517f3096a91d6df7810fe663404cd /openbox | |
| parent | ddfddc15e3b0c62e439e2cf682db9a348954863e (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.c | 3 |
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)) |
