aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Smith <[email protected]>2022-10-18 18:23:56 -0400
committerLuke Smith <[email protected]>2022-10-18 18:23:56 -0400
commiteec78faa7c84f771b477f502f69cdbde116da985 (patch)
tree52e9c4e1f26e9e8f1cc8e2078ce8371fc577e2e7
parentMerge pull request #217 from kronikpillow/merge (diff)
downloadseiwm-eec78faa7c84f771b477f502f69cdbde116da985.tar.xz
seiwm-eec78faa7c84f771b477f502f69cdbde116da985.zip
fix swallow flicker, close #210
-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);
}