fix swallow flicker, close #210

This commit is contained in:
Luke Smith 2022-10-18 18:23:56 -04:00
parent c83b9f0b96
commit eec78faa7c

2
dwm.c
View file

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