wasteful syncing
This commit is contained in:
parent
58dc86971a
commit
a82c1efeed
1 changed files with 2 additions and 3 deletions
|
@ -511,9 +511,8 @@ void client_unmanage(ObClient *self)
|
||||||
XSelectInput(ob_display, self->window, NoEventMask);
|
XSelectInput(ob_display, self->window, NoEventMask);
|
||||||
|
|
||||||
frame_hide(self->frame);
|
frame_hide(self->frame);
|
||||||
/* sync to send the hide to the server quickly, and to get back the enter
|
/* flush to send the hide to the server quickly */
|
||||||
events */
|
XFlush(ob_display);
|
||||||
XSync(ob_display, FALSE);
|
|
||||||
|
|
||||||
if (focus_client == self) {
|
if (focus_client == self) {
|
||||||
/* ignore enter events from the unmap so it doesnt mess with the focus
|
/* ignore enter events from the unmap so it doesnt mess with the focus
|
||||||
|
|
Loading…
Reference in a new issue