[hackers] [dwm] introduced new define RESIZEHINTS, which allows to enable/disable size hint handling in tiled resizals

From: Anselm R. Garbe <garbeam_AT_gmail.com>
Date: Sun Sep 09 18:31:54 2007

changeset: 979:1f295ac327ef
user: Anselm R. Garbe <garbeam_AT_gmail.com>
date: Sun Sep 09 18:28:39 2007 +0200
summary: introduced new define RESIZEHINTS, which allows to enable/disable size hint handling in tiled resizals

diff -r c3c850b5ad89 -r 1f295ac327ef config.arg.h
--- 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 @@ static Layout layouts[] = { \
         { "[]=", 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 */
 
diff -r c3c850b5ad89 -r 1f295ac327ef config.default.h
--- 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 @@ static Layout layouts[] = { \
         { "[]=", 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 */
 
diff -r c3c850b5ad89 -r 1f295ac327ef config.mk
--- 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
 
diff -r c3c850b5ad89 -r 1f295ac327ef tile.c
--- 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 @@ tile(void) {
                         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;
         }
Received on Sun Sep 09 2007 - 18:31:54 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:58:02 UTC