]> Dogcows Code - chaz/openbox/commitdiff
only look for FocusOut events on the same window
authorDana Jansens <danakj@orodu.net>
Sat, 19 Apr 2003 18:30:58 +0000 (18:30 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 19 Apr 2003 18:30:58 +0000 (18:30 +0000)
openbox/event.c

index bdafd126e6acbc1f89796e908756347371e903b9..b052fe1a17d6abf0c0923c946a9f39a3bcea76d3 100644 (file)
@@ -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) {
This page took 0.026727 seconds and 4 git commands to generate.