From 130a42710ce5a398b65583161cc9d86e342586b9 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 11 Jul 2003 00:08:43 +0000 Subject: [PATCH] move to the desktop of the activated window --- openbox/client.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/openbox/client.c b/openbox/client.c index a339bf0f..3ed2e9df 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -2425,7 +2425,10 @@ void client_activate(ObClient *self) 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 */ -- 2.39.2