From: Dana Jansens Date: Mon, 7 May 2007 03:16:45 +0000 (+0000) Subject: windows on other desktops are iconic state too X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=13df16a6815594821e94b9764d152ecc293bc71c;p=chaz%2Fopenbox windows on other desktops are iconic state too --- 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) {