From a82c1efeed566d8227a73904bd9688bd553ff4d1 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 23 Apr 2007 02:00:33 +0000 Subject: [PATCH] wasteful syncing --- openbox/client.c | 5 ++--- 1 file 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 -- 2.45.2