replaced BORDERPX with sel->border in togglemax(), in other places this is not possible.
authorAnselm R. Garbe <arg@suckless.org>
Wed, 30 May 2007 20:49:38 +0200
changeset 912 f7b26d6efc9f
parent 911 1bd50fb6b9a8
child 913 d9c7c686d4dc
replaced BORDERPX with sel->border in togglemax(), in other places this is not possible.
config.mk
layout.c
--- a/config.mk	Wed May 30 12:22:29 2007 +0200
+++ b/config.mk	Wed May 30 20:49:38 2007 +0200
@@ -1,5 +1,5 @@
 # dwm version
-VERSION = 4.2
+VERSION = 4.3
 
 # Customize below to fit your system
 
--- a/layout.c	Wed May 30 12:22:29 2007 +0200
+++ b/layout.c	Wed May 30 20:49:38 2007 +0200
@@ -243,7 +243,7 @@
 		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);