windows on other desktops are iconic state too
This commit is contained in:
parent
f138bd8007
commit
13df16a681
1 changed files with 4 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue