mirror of
https://github.com/mintycube/dwm.git
synced 2024-10-22 12:05:45 +00:00
swallow: no good reason to call arrange if a client window is being swallowed
This commit is contained in:
parent
9f64260f0a
commit
c3e5910080
5
dwm.c
5
dwm.c
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user