all repos — dwm @ 141beb27041371672d54da7f541a3855fab0ac5b

my dwm build

replaced BORDERPX with sel->border in togglemax(), in other places this is not possible.
Anselm R. Garbe arg@suckless.org
Wed, 30 May 2007 20:49:38 +0200
commit

141beb27041371672d54da7f541a3855fab0ac5b

parent

4e49d5a0ad0936e1492eabf92ff471670742189f

2 files changed, 2 insertions(+), 2 deletions(-)

jump to
M config.mkconfig.mk

@@ -1,5 +1,5 @@

# dwm version -VERSION = 4.2 +VERSION = 4.3 # Customize below to fit your system
M layout.clayout.c

@@ -243,7 +243,7 @@ sel->rx = sel->x;

sel->ry = sel->y; sel->rw = sel->w; sel->rh = sel->h; - resize(sel, wax, way, waw - 2 * BORDERPX, wah - 2 * BORDERPX, True); + resize(sel, wax, way, waw - 2 * sel->border, wah - 2 * sel->border, True); } else resize(sel, sel->rx, sel->ry, sel->rw, sel->rh, True);