swallow: arrange monitor if window is not swallowed

This commit is contained in:
bakkeby
2020-09-12 14:21:51 +02:00
parent 7b477bc7db
commit 819d06c5c9
3 changed files with 7 additions and 7 deletions

4
dwm.c
View File

@@ -2214,9 +2214,7 @@ manage(Window w, XWindowAttributes *wa)
XMapWindow(dpy, c->win);
#endif // BAR_WINTITLEACTIONS_PATCH
#if SWALLOW_PATCH
if (term)
swallow(term, c);
else
if (!(term && swallow(term, c)))
arrange(c->mon);
#else
arrange(c->mon);