summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--dwm.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index 194d46f..5951997 100644
--- a/dwm.c
+++ b/dwm.c
@@ -2216,8 +2216,11 @@ manage(Window w, XWindowAttributes *wa)
#if SWALLOW_PATCH
if (term)
swallow(term, c);
- #endif // SWALLOW_PATCH
+ else
+ arrange(c->mon);
+ #else
arrange(c->mon);
+ #endif // SWALLOW_PATCH
focus(NULL);
}