noborder: the recorded height and width of the client should most likely not be changed when noborder is in effect

This commit is contained in:
bakkeby 2020-10-19 13:08:26 +02:00
parent ff78e407a5
commit c6c2f0109f

4
dwm.c
View File

@ -2632,8 +2632,8 @@ resizeclient(Client *c, int x, int y, int w, int h)
#endif // FAKEFULLSCREEN_CLIENT_PATCH
&& !c->isfloating
&& c->mon->lt[c->mon->sellt]->arrange) {
c->w = wc.width += c->bw * 2;
c->h = wc.height += c->bw * 2;
wc.width += c->bw * 2;
wc.height += c->bw * 2;
wc.border_width = 0;
}
#endif // NOBORDER_PATCH