]> Dogcows Code - chaz/openbox/commitdiff
be more careful about ignoring focusin/out event pairs
authorDana Jansens <danakj@orodu.net>
Sat, 10 May 2003 15:51:44 +0000 (15:51 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 10 May 2003 15:51:44 +0000 (15:51 +0000)
openbox/event.c

index c30d52e5863bd5eaecdca0caaae1e1d7d833a83d..02ead5b2615d9137e037f71f9d949af09deb47fe 100644 (file)
@@ -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");
This page took 0.026476 seconds and 4 git commands to generate.