]> git.armaanb.net Git - dwm.git/commitdiff
introduced new define RESIZEHINTS, which allows to enable/disable size hint handling...
authorAnselm R. Garbe <garbeam@gmail.com>
Sun, 9 Sep 2007 16:28:39 +0000 (18:28 +0200)
committerAnselm R. Garbe <garbeam@gmail.com>
Sun, 9 Sep 2007 16:28:39 +0000 (18:28 +0200)
config.arg.h
config.default.h
config.mk
tile.c

index a427096568f901889714e0e0c1f772635a39efd6..5a9a3ca70e7811e846b68c6e2b0002b69833d6cd 100644 (file)
@@ -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 */
 
index dab8cc7d2f0aedf1efa99e1c90bd9f913abf1580..96efa83f124058cfebd48bdc2ef1a4db02b93f26 100644 (file)
@@ -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 */
 
index f9b5f7fa765f44a1e5efb905a3482f2f55c6b351..4b2ff6c74ec17d41a9ed60897d87e861a20f0f81 100644 (file)
--- a/config.mk
+++ b/config.mk
@@ -1,5 +1,5 @@
 # dwm version
-VERSION = 4.4.1
+VERSION = 4.5
 
 # Customize below to fit your system
 
diff --git a/tile.c b/tile.c
index 7915441d05f2e00e9a6b809ee08251965ed924c3..56a06d36a05a651d12a84fcd7378625dfbcb0f37 100644 (file)
--- a/tile.c
+++ b/tile.c
@@ -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;
        }