swallow: no good reason to call arrange if a client window is being swallowed

This commit is contained in:
bakkeby 2020-09-11 17:33:15 +02:00
parent 9f64260f0a
commit c3e5910080

5
dwm.c
View File

@ -2216,8 +2216,11 @@ manage(Window w, XWindowAttributes *wa)
#if SWALLOW_PATCH #if SWALLOW_PATCH
if (term) if (term)
swallow(term, c); swallow(term, c);
#endif // SWALLOW_PATCH else
arrange(c->mon); arrange(c->mon);
#else
arrange(c->mon);
#endif // SWALLOW_PATCH
focus(NULL); focus(NULL);
} }