From c6c2f0109f69d851792714dbabfd668752f21953 Mon Sep 17 00:00:00 2001 From: bakkeby Date: Mon, 19 Oct 2020 13:08:26 +0200 Subject: [PATCH] noborder: the recorded height and width of the client should most likely not be changed when noborder is in effect --- dwm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dwm.c b/dwm.c index 2d4e7c2..50ccb38 100644 --- a/dwm.c +++ b/dwm.c @@ -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