commit e9a73178d6fe6ad28631811890dc2bb6225e55c3 parent 2a3d5d7b0b0cc6f8893b68727438eda057459871 Author: phillbush <phillbush@cock.li> Date: Fri, 24 Sep 2021 06:47:36 -0300 fix containerplace when a container is minimized Diffstat:
M | shod.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/shod.c b/shod.c @@ -1749,7 +1749,7 @@ containerplace(struct Container *c, struct Desktop *desk, int userplaced) /* increment cells of grid a window is in */ for (tmp = wm.c; tmp; tmp = tmp->next) { - if (tmp != c && ((tmp->issticky && tmp->mon == mon) || tmp->desk == desk)) { + if (tmp != c && !tmp->isminimized && ((tmp->issticky && tmp->mon == mon) || tmp->desk == desk)) { for (i = 0; i < DIV; i++) { for (j = 0; j < DIV; j++) { ha = mon->wy + (mon->wh * i)/DIV;