From 540f547babe3d3aa27aac9b28dc03a8acb325edf Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 19 Apr 2003 18:30:58 +0000 Subject: [PATCH] only look for FocusOut events on the same window --- openbox/event.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) { -- 2.45.2