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 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");