summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openbox/event.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/event.c b/openbox/event.c
index bdafd126..b052fe1a 100644
--- a/openbox/event.c
+++ b/openbox/event.c
@@ -291,7 +291,8 @@ static gboolean event_ignore(XEvent *e, Client *client)
gboolean fallback = TRUE;
while (TRUE) {
- if (!XCheckTypedEvent(ob_display, FocusOut, &fe))
+ if (!XCheckTypedWindowEvent(ob_display, FocusOut,
+ e->xfocus.window,&fe))
if (!XCheckTypedEvent(ob_display, FocusIn, &fe))
break;
if (fe.type == FocusOut) {