From bd6d80f16848d107810a56d9ac1c295c1ea778be Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 10 May 2003 15:51:44 +0000 Subject: [PATCH] be more careful about ignoring focusin/out event pairs --- openbox/event.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openbox/event.c b/openbox/event.c index c30d52e5..02ead5b2 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -313,7 +313,8 @@ static gboolean event_ignore(XEvent *e, Client *client) #endif /* is the focused window getting a FocusOut/In back to itself? */ - if (fe.xfocus.window == e->xfocus.window) { + if (fe.xfocus.window == e->xfocus.window && + !event_ignore(&fe, client)) { #ifdef DEBUG_FOCUS g_message("focused window got an Out/In back to " "itself IGNORED both"); -- 2.45.2