mirror of
https://github.com/LukeSmithxyz/dwm.git
synced 2026-10-05 14:22:31 +03:00
fix swallow flicker, close #210
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user