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); }