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:
bakkeby 2020-06-10 12:24:46 +02:00
parent 1f971ebd1d
commit e355c49833

3
dwm.c
View File

@ -2511,7 +2511,8 @@ resizeclient(Client *c, int x, int y, int w, int h)
#if MONOCLE_LAYOUT
|| &monocle == c->mon->lt[c->mon->sellt]->arrange
#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->h = wc.height += c->bw * 2;
wc.border_width = 0;