all repos — openbox @ 51cc41e4db6295fbf9a3d2be6e8935d51ad61458

openbox fork - make it a bit more like ryudo

indenting
Dana Jansens danakj@orodu.net
commit

51cc41e4db6295fbf9a3d2be6e8935d51ad61458

parent

ac3a588266c1353721a776a1676b416e6258d7f6

1 files changed, 11 insertions(+), 11 deletions(-)

jump to
M openbox/client.copenbox/client.c

@@ -2516,24 +2516,24 @@ if (!((self->can_focus || self->focus_notify) &&

(self->desktop == screen_desktop || self->desktop == DESKTOP_ALL) && !self->iconic)) - 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; + 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; - } + UnmapNotify, &ev)) { + if (self->ignore_unmaps) { + self->ignore_unmaps--; + } else { + XPutBackEvent(ob_display, &ev); + return FALSE; + } } return TRUE;