summaryrefslogtreecommitdiff
path: root/openbox
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-04-23 02:00:33 +0000
committerDana Jansens <danakj@orodu.net>2007-04-23 02:00:33 +0000
commita82c1efeed566d8227a73904bd9688bd553ff4d1 (patch)
tree720bf07285bf6ab7949afc7b06755c94e0e36415 /openbox
parent58dc86971a86b5f843fc93bba2dd8882f60c41a0 (diff)
wasteful syncing
Diffstat (limited to 'openbox')
-rw-r--r--openbox/client.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/openbox/client.c b/openbox/client.c
index 76db97bc..dc4e52d2 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -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