]> Dogcows Code - chaz/openbox/blobdiff - openbox/client.c
remove an unused variable
[chaz/openbox] / openbox / client.c
index 76db97bc82b0da54721fe384e795f9123796b6d2..dc4e52d25e33ab3a5baf16dbd4e5287ff30d7ca5 100644 (file)
@@ -511,9 +511,8 @@ void client_unmanage(ObClient *self)
     XSelectInput(ob_display, self->window, NoEventMask);
 
     frame_hide(self->frame);
-    /* sync to send the hide to the server quickly, and to get back the enter
-       events */
-    XSync(ob_display, FALSE);
+    /* flush to send the hide to the server quickly */
+    XFlush(ob_display);
 
     if (focus_client == self) {
         /* ignore enter events from the unmap so it doesnt mess with the focus
This page took 0.021067 seconds and 4 git commands to generate.