From 13df16a6815594821e94b9764d152ecc293bc71c Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 7 May 2007 03:16:45 +0000 Subject: [PATCH] windows on other desktops are iconic state too --- openbox/client.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/openbox/client.c b/openbox/client.c index 9c06e49e..3b66a836 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -2143,9 +2143,11 @@ static void client_change_wm_state(ObClient *self) old = self->wmstate; - if (self->shaded || self->iconic) + if (self->shaded || self->iconic || + (self->desktop != DESKTOP_ALL && self->desktop != screen_desktop)) + { self->wmstate = IconicState; - else + } else self->wmstate = NormalState; if (old != self->wmstate) { -- 2.39.2