summaryrefslogtreecommitdiffhomepage
path: root/dwm.c
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2021-10-25 10:02:51 +0200
committerbakkeby <[email protected]>2021-10-25 10:02:51 +0200
commit297412adf48474877f803d283052c94fbfc793e4 (patch)
tree4d9e85502684863f2671a456ff126f2fcc1465c2 /dwm.c
parent84355a6d90bd7f5faffb7dec54071beae97a9017 (diff)
downloaddwm-flexipatch-297412adf48474877f803d283052c94fbfc793e4.tar.gz
dwm-flexipatch-297412adf48474877f803d283052c94fbfc793e4.zip
noborder: addressing issue reported in #193
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dwm.c b/dwm.c
index 0c63ca7..8457fce 100644
--- a/dwm.c
+++ b/dwm.c
@@ -2843,8 +2843,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) {
- wc.width += c->bw * 2;
- wc.height += c->bw * 2;
+ c->w = wc.width += c->bw * 2;
+ c->h = wc.height += c->bw * 2;
wc.border_width = 0;
}
#endif // NOBORDER_PATCH