dwm

my heavily-patched and customized dwm build
git clone git://git.kocotian.pl/dwm.git
Log | Files | Refs | README | LICENSE

commit cea7e0cb32d5662d0b1d7d794430a367cc33b0a5
parent 88344219d553995473acf002244a2a8f436079eb
Author: kocotian <kocotian@kocotian.pl>
Date:   Sat,  6 Feb 2021 15:25:17 +0100

fixed bug in fix made before

Diffstat:
Mdwm.c | 9+++++++--
1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/dwm.c b/dwm.c @@ -1994,8 +1994,13 @@ resizeclient(Client *c, int x, int y, int w, int h) || &monocle == c->mon->lt[c->mon->sellt]->arrange) && !c->isfullscreen && !c->isfloating && NULL != c->mon->lt[c->mon->sellt]->arrange) || c->isfloating) { - c->w = wc.width; - c->h = wc.height; + if (c->isfloating) { + c->w = wc.width; + c->h = wc.height; + } else { + c->w = wc.width += c->bw * 2; + c->h = wc.height += c->bw * 2; + } wc.border_width = 0; }