From 1696ebb36ac26dc306a619c3b9f92f95869595dc Mon Sep 17 00:00:00 2001 From: tsxv478 Date: Fri, 3 May 2024 19:04:03 +0300 Subject: arrange() fix --- dwm.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3