summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortsxv478 <atvx717@infraredcombat.xyz>2024-05-03 19:04:03 +0300
committertsxv478 <atvx717@infraredcombat.xyz>2024-05-03 19:04:03 +0300
commit37844d5db3c883305303e54f810685eecddda7cb (patch)
treec87b19b7d04427fed4cc2ea3a6454ad389fb0364
parent037a5d94c95b49c73c9b5d6dbf97619da43767c5 (diff)
arrange() fix
-rw-r--r--dwm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index 6715eb3..42c43f6 100644
--- a/dwm.c
+++ b/dwm.c
@@ -440,8 +440,10 @@ arrange(Monitor *m)
if (m) {
arrangemon(m);
restack(m);
- } else for (m = mons; m; m = m->next)
+ } else for (m = mons; m; m = m->next) {
arrangemon(m);
+ restack(m);
+ }
}
void