summaryrefslogtreecommitdiff
path: root/dwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'dwm.c')
-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);
}