mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
Fix group hidden state when a client wants to be on all desktops on start;
reported by Vadim Vygonets with diff, but another approach was taken.
This commit is contained in:
2
group.c
2
group.c
@@ -164,7 +164,7 @@ group_movetogroup(struct client_ctx *cc, int idx)
|
|||||||
|
|
||||||
if (cc->gc == gc)
|
if (cc->gc == gc)
|
||||||
return;
|
return;
|
||||||
if (group_holds_only_hidden(gc))
|
if (gc->num != 0 && group_holds_only_hidden(gc))
|
||||||
client_hide(cc);
|
client_hide(cc);
|
||||||
group_assign(gc, cc);
|
group_assign(gc, cc);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user