dwm

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

commit 88344219d553995473acf002244a2a8f436079eb
parent 0df581b8239d7381d518840aea177452872c205d
Author: kocotian <kocotian@kocotian.pl>
Date:   Sat,  6 Feb 2021 15:22:34 +0100

fixed auto-growing floating windows while moving

Diffstat:
Mconfig.def.h | 2++
Mdwm.c | 4++--
2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/config.def.h b/config.def.h @@ -238,6 +238,8 @@ static Key keys[] = { { MODKEY|Mod1Mask|ShiftMask, XK_j, tagmon, {.i = -1 } }, { MODKEY|Mod1Mask|ShiftMask, XK_k, tagmon, {.i = +1 } }, + { MODKEY, XK_apostrophe, spawn, SHCMD("st -e bc -l") }, + { MODKEY, XK_Return, spawn, {.v = termcmd } }, { MODKEY, XK_z, setattach, {0} }, diff --git a/dwm.c b/dwm.c @@ -1994,8 +1994,8 @@ 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->bw * 2; - c->h = wc.height += c->bw * 2; + c->w = wc.width; + c->h = wc.height; wc.border_width = 0; }