remove this check, it didnt guarantee anything anyways
This commit is contained in:
parent
a019ee1028
commit
9011eb27e0
1 changed files with 0 additions and 18 deletions
|
@ -3343,24 +3343,6 @@ gboolean client_can_focus(ObClient *self)
|
||||||
if (!(self->can_focus || self->focus_notify))
|
if (!(self->can_focus || self->focus_notify))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
/* do a check to see if the window has already been unmapped or destroyed
|
|
||||||
do this intelligently while watching out for unmaps we've generated
|
|
||||||
(ignore_unmaps > 0) */
|
|
||||||
if (XCheckTypedWindowEvent(ob_display, self->window,
|
|
||||||
DestroyNotify, &ev)) {
|
|
||||||
XPutBackEvent(ob_display, &ev);
|
|
||||||
return FALSE;
|
|
||||||
}
|
|
||||||
while (XCheckTypedWindowEvent(ob_display, self->window,
|
|
||||||
UnmapNotify, &ev)) {
|
|
||||||
if (self->ignore_unmaps) {
|
|
||||||
self->ignore_unmaps--;
|
|
||||||
} else {
|
|
||||||
XPutBackEvent(ob_display, &ev);
|
|
||||||
return FALSE;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue