all repos — openbox @ a823e4786e8c0b5ec1940f7a6daaf4572f7d452a

openbox fork - make it a bit more like ryudo

dont move windows away from omnpresentness when deiconifying them
Dana Jansens danakj@orodu.net
commit

a823e4786e8c0b5ec1940f7a6daaf4572f7d452a

parent

e84fb1b052584b83947715d8ae4ec5d8afd201e7

1 files changed, 4 insertions(+), 2 deletions(-)

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

@@ -2611,7 +2611,8 @@ }

} else { self->iconic = iconic; - if (curdesk) + if (curdesk && self->desktop != screen_desktop && + self->desktop != DESKTOP_ALL) client_set_desktop(self, screen_desktop, FALSE); /* this puts it after the current focused window */

@@ -3182,7 +3183,8 @@ screen_show_desktop(FALSE);

if (self->iconic) client_iconify(self, FALSE, here); if (self->desktop != DESKTOP_ALL && - self->desktop != screen_desktop) { + self->desktop != screen_desktop) + { if (here) client_set_desktop(self, screen_desktop, FALSE); else