about summary refs log tree commit diff stats
diff options
context:
space:
mode:
author2022-10-18 18:23:56 -0400
committer2022-10-18 18:23:56 -0400
commiteec78faa7c84f771b477f502f69cdbde116da985 (patch)
tree52e9c4e1f26e9e8f1cc8e2078ce8371fc577e2e7
parentc83b9f0b96960a7c379b315e9e314209e80c5e6c (diff)
downloaddwm-eec78faa7c84f771b477f502f69cdbde116da985.tar.gz
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index 4f3faff..33bb71c 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1302,10 +1302,10 @@ manage(Window w, XWindowAttributes *wa)
 	if (c->mon == selmon)
 		unfocus(selmon->sel, 0);
 	c->mon->sel = c;
-	arrange(c->mon);
 	XMapWindow(dpy, c->win);
 	if (term)
 		swallow(term, c);
+	arrange(c->mon);
 	focus(NULL);
 }