summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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