fix swallow flicker, close #210
This commit is contained in:
parent
c83b9f0b96
commit
eec78faa7c
1 changed files with 1 additions and 1 deletions
2
dwm.c
2
dwm.c
|
@ -1302,10 +1302,10 @@ manage(Window w, XWindowAttributes *wa)
|
||||||
if (c->mon == selmon)
|
if (c->mon == selmon)
|
||||||
unfocus(selmon->sel, 0);
|
unfocus(selmon->sel, 0);
|
||||||
c->mon->sel = c;
|
c->mon->sel = c;
|
||||||
arrange(c->mon);
|
|
||||||
XMapWindow(dpy, c->win);
|
XMapWindow(dpy, c->win);
|
||||||
if (term)
|
if (term)
|
||||||
swallow(term, c);
|
swallow(term, c);
|
||||||
|
arrange(c->mon);
|
||||||
focus(NULL);
|
focus(NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue