summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@gmail.com>2007-09-09 18:28:39 +0200
committerAnselm R. Garbe <garbeam@gmail.com>2007-09-09 18:28:39 +0200
commitae760f3f3883cbb4249d46d2213c86696c64cd04 (patch)
tree7505d8f39877f3884a58def5ab6aa5fa9c6ace9a
parent169d96ae8fdf430fd028de74a97c8901759174be (diff)
introduced new define RESIZEHINTS, which allows to enable/disable size hint handling in tiled resizals
-rw-r--r--config.arg.h1
-rw-r--r--config.default.h1
-rw-r--r--config.mk2
-rw-r--r--tile.c2
4 files changed, 4 insertions, 2 deletions
diff --git a/config.arg.h b/config.arg.h
index a4270965..5a9a3ca7 100644
--- a/config.arg.h
+++ b/config.arg.h
@@ -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 --git a/config.default.h b/config.default.h
index dab8cc7d..96efa83f 100644
--- a/config.default.h
+++ b/config.default.h
@@ -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 --git a/config.mk b/config.mk
index f9b5f7fa..4b2ff6c7 100644
--- 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 7915441d..56a06d36 100644
--- 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;
}