diff options
| author | bakkeby <[email protected]> | 2020-10-10 15:04:36 +0200 |
|---|---|---|
| committer | bakkeby <[email protected]> | 2020-10-10 15:04:36 +0200 |
| commit | 016cdf385781d101221318d4ff8e029a357ff236 (patch) | |
| tree | 2242c6c66719725feb4468e2fc4265eb5525e1ef /dwm.c | |
| parent | b25b92b5f447e9d0ba8bcbeec342eddb0846483f (diff) | |
| download | dwm-flexipatch-016cdf385781d101221318d4ff8e029a357ff236.tar.gz dwm-flexipatch-016cdf385781d101221318d4ff8e029a357ff236.zip | |
for new clients trigger arrange before XMapWindow to avoid visual glitches
Diffstat (limited to 'dwm.c')
| -rw-r--r-- | dwm.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -2275,18 +2275,18 @@ manage(Window w, XWindowAttributes *wa) if (c->mon == selmon) unfocus(selmon->sel, 0, c); c->mon->sel = c; - #if BAR_WINTITLEACTIONS_PATCH - if (!HIDDEN(c)) - XMapWindow(dpy, c->win); - #else - XMapWindow(dpy, c->win); - #endif // BAR_WINTITLEACTIONS_PATCH #if SWALLOW_PATCH if (!(term && swallow(term, c))) arrange(c->mon); #else arrange(c->mon); #endif // SWALLOW_PATCH + #if BAR_WINTITLEACTIONS_PATCH + if (!HIDDEN(c)) + XMapWindow(dpy, c->win); + #else + XMapWindow(dpy, c->win); + #endif // BAR_WINTITLEACTIONS_PATCH focus(NULL); #if BAR_EWMHTAGS_PATCH |
