commit 5aa1a592b761a2a01289f33eec1361a4193cce77
parent 8ada5beb1f980b61f4013f9aa87b83fd461f023c
Author: phillbush <phillbush@cock.li>
Date: Wed, 15 Sep 2021 08:48:50 -0300
fix deskfocus
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/shod.c b/shod.c
@@ -2773,7 +2773,7 @@ deskfocus(struct Desktop *desk)
/* unhide cointainers of new current desktop
* hide containers of previous current desktop */
for (c = wm.c; c != NULL; c = c->next) {
- if (c->desk == desk) {
+ if (!c->isminimized && c->desk == desk) {
containerhide(c, 0);
} else if (!c->issticky && c->desk == desk->mon->seldesk) {
containerhide(c, 1);