all repos — openbox @ 130a42710ce5a398b65583161cc9d86e342586b9

openbox fork - make it a bit more like ryudo

move to the desktop of the activated window
Dana Jansens danakj@orodu.net
commit

130a42710ce5a398b65583161cc9d86e342586b9

parent

81af5a8b0caadc0a82ff2304c315f816c9576e93

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

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

@@ -2425,7 +2425,10 @@ {

if (client_normal(self) && screen_showing_desktop) screen_show_desktop(FALSE); if (self->iconic) - client_iconify(self, FALSE, TRUE); + client_iconify(self, FALSE, FALSE); + if (self->desktop != DESKTOP_ALL && + self->desktop != screen_desktop) + screen_set_desktop(self->desktop); else if (!self->frame->visible) /* if its not visible for other reasons, then don't mess with it */