mirror of
https://github.com/mintycube/dwm.git
synced 2024-10-22 12:05:45 +00:00
noborder: The noborder patch had a bug in it such that if moving the window in floating layout then the window would continuously grow, adding the fix for that
This commit is contained in:
parent
1f971ebd1d
commit
e355c49833
3
dwm.c
3
dwm.c
@ -2511,7 +2511,8 @@ resizeclient(Client *c, int x, int y, int w, int h)
|
|||||||
#if MONOCLE_LAYOUT
|
#if MONOCLE_LAYOUT
|
||||||
|| &monocle == c->mon->lt[c->mon->sellt]->arrange
|
|| &monocle == c->mon->lt[c->mon->sellt]->arrange
|
||||||
#endif // MONOCLE_LAYOUT
|
#endif // MONOCLE_LAYOUT
|
||||||
) && !c->isfullscreen && !c->isfloating) {
|
) && !c->isfullscreen && !c->isfloating
|
||||||
|
&& c->mon->lt[c->mon->sellt]->arrange) {
|
||||||
c->w = wc.width += c->bw * 2;
|
c->w = wc.width += c->bw * 2;
|
||||||
c->h = wc.height += c->bw * 2;
|
c->h = wc.height += c->bw * 2;
|
||||||
wc.border_width = 0;
|
wc.border_width = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user