summaryrefslogtreecommitdiff
path: root/dwm.c
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2022-10-18 18:23:56 -0400
committerLuke Smith <luke@lukesmith.xyz>2022-10-18 18:23:56 -0400
commiteec78faa7c84f771b477f502f69cdbde116da985 (patch)
tree52e9c4e1f26e9e8f1cc8e2078ce8371fc577e2e7 /dwm.c
parentc83b9f0b96960a7c379b315e9e314209e80c5e6c (diff)
fix swallow flicker, close #210
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);
}