]> Dogcows Code - chaz/openbox/commitdiff
sync before removing all the enter events. this way it actually catches them
authorDana Jansens <danakj@orodu.net>
Sat, 6 Sep 2003 09:10:43 +0000 (09:10 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 6 Sep 2003 09:10:43 +0000 (09:10 +0000)
openbox/screen.c

index 38ad8978d7cf32a56fc3e1637a46c8d4c210dd8e..53dce6e78f56827fffa728f8b2f4b7d41abdf7d7 100644 (file)
@@ -430,6 +430,7 @@ void screen_set_desktop(guint num)
         }
     }
 
+    XSync(ob_display, FALSE);
     /* focus the last focused window on the desktop, and ignore enter events
        from the switch so it doesnt mess with the focus */
     while (XCheckTypedEvent(ob_display, EnterNotify, &e));
This page took 0.03018 seconds and 4 git commands to generate.