summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2020-09-11 17:33:15 +0200
committerbakkeby <[email protected]>2020-09-11 17:33:15 +0200
commitc3e59100804bbedbc784a8722548d1a71f499334 (patch)
tree5b0301b125497b3f1100946adb23c302fd36f7c4
parent9f64260f0a47b8346c00f1678f204071cb3fd646 (diff)
downloaddwm-flexipatch-c3e59100804bbedbc784a8722548d1a71f499334.tar.gz
dwm-flexipatch-c3e59100804bbedbc784a8722548d1a71f499334.zip
swallow: no good reason to call arrange if a client window is being swallowed
-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);
}