introduced new define RESIZEHINTS, which allows to enable/disable size hint handling in tiled resizals
authorAnselm R. Garbe <garbeam@gmail.com>
Sun, 09 Sep 2007 18:28:39 +0200
changeset 979 1f295ac327ef
parent 978 c3c850b5ad89
child 980 9a322081bea2
introduced new define RESIZEHINTS, which allows to enable/disable size hint handling in tiled resizals
config.arg.h
config.default.h
config.mk
tile.c
--- a/config.arg.h	Fri Sep 07 21:22:49 2007 +0200
+++ b/config.arg.h	Sun Sep 09 18:28:39 2007 +0200
@@ -31,6 +31,7 @@
 	{ "[]=",		tile }, /* first entry is default */ \
 	{ "><>",		floating }, \
 };
+#define RESIZEHINTS		False	/* True - respect size hints in tiled resizals */
 #define MWFACT			0.6	/* master width factor [0.1 .. 0.9] */
 #define SNAP			32	/* snap pixel */
 
--- a/config.default.h	Fri Sep 07 21:22:49 2007 +0200
+++ b/config.default.h	Sun Sep 09 18:28:39 2007 +0200
@@ -32,6 +32,7 @@
 	{ "[]=",		tile }, /* first entry is default */ \
 	{ "><>",		floating }, \
 };
+#define RESIZEHINTS		False	/* True - respect size hints in tiled resizals */
 #define MWFACT			0.6	/* master width factor [0.1 .. 0.9] */
 #define SNAP			32	/* snap pixel */
 
--- a/config.mk	Fri Sep 07 21:22:49 2007 +0200
+++ b/config.mk	Sun Sep 09 18:28:39 2007 +0200
@@ -1,5 +1,5 @@
 # dwm version
-VERSION = 4.4.1
+VERSION = 4.5
 
 # Customize below to fit your system
 
--- a/tile.c	Fri Sep 07 21:22:49 2007 +0200
+++ b/tile.c	Sun Sep 09 18:28:39 2007 +0200
@@ -63,7 +63,7 @@
 			else
 				nh = th - 2 * c->border;
 		}
-		resize(c, nx, ny, nw, nh, False);
+		resize(c, nx, ny, nw, nh, RESIZEHINTS);
 		if(n > 1 && th != wah)
 			ny += nh + 2 * c->border;
 	}