projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58dc869
)
wasteful syncing
author
Dana Jansens
<danakj@orodu.net>
Mon, 23 Apr 2007 02:00:33 +0000
(
02:00
+0000)
committer
Dana Jansens
<danakj@orodu.net>
Mon, 23 Apr 2007 02:00:33 +0000
(
02:00
+0000)
openbox/client.c
patch
|
blob
|
history
diff --git
a/openbox/client.c
b/openbox/client.c
index
76db97b
..
dc4e52d
100644
(file)
--- 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