noborder: addressing issue reported in #193

This commit is contained in:
bakkeby 2021-10-25 10:02:51 +02:00
parent 84355a6d90
commit 297412adf4

4
dwm.c
View File

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