From: Dana Jansens Date: Sat, 10 May 2003 15:51:44 +0000 (+0000) Subject: be more careful about ignoring focusin/out event pairs X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=bd6d80f16848d107810a56d9ac1c295c1ea778be;p=chaz%2Fopenbox be more careful about ignoring focusin/out event pairs --- 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");