indenting
This commit is contained in:
parent
ac3a588266
commit
51cc41e4db
1 changed files with 11 additions and 11 deletions
|
@ -2516,24 +2516,24 @@ gboolean client_can_focus(ObClient *self)
|
||||||
(self->desktop == screen_desktop ||
|
(self->desktop == screen_desktop ||
|
||||||
self->desktop == DESKTOP_ALL) &&
|
self->desktop == DESKTOP_ALL) &&
|
||||||
!self->iconic))
|
!self->iconic))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
/* do a check to see if the window has already been unmapped or destroyed
|
/* 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
|
do this intelligently while watching out for unmaps we've generated
|
||||||
(ignore_unmaps > 0) */
|
(ignore_unmaps > 0) */
|
||||||
if (XCheckTypedWindowEvent(ob_display, self->window,
|
if (XCheckTypedWindowEvent(ob_display, self->window,
|
||||||
DestroyNotify, &ev)) {
|
DestroyNotify, &ev)) {
|
||||||
XPutBackEvent(ob_display, &ev);
|
XPutBackEvent(ob_display, &ev);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
while (XCheckTypedWindowEvent(ob_display, self->window,
|
while (XCheckTypedWindowEvent(ob_display, self->window,
|
||||||
UnmapNotify, &ev)) {
|
UnmapNotify, &ev)) {
|
||||||
if (self->ignore_unmaps) {
|
if (self->ignore_unmaps) {
|
||||||
self->ignore_unmaps--;
|
self->ignore_unmaps--;
|
||||||
} else {
|
} else {
|
||||||
XPutBackEvent(ob_display, &ev);
|
XPutBackEvent(ob_display, &ev);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
Loading…
Reference in a new issue