tintroduced new define RESIZEHINTS, which allows to enable/disable size hint ha… | |
git clone git://src.adamsgaard.dk/dwm | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit ae760f3f3883cbb4249d46d2213c86696c64cd04 | |
parent 169d96ae8fdf430fd028de74a97c8901759174be | |
Author: Anselm R. Garbe <[email protected]> | |
Date: Sun, 9 Sep 2007 18:28:39 +0200 | |
introduced new define RESIZEHINTS, which allows to enable/disable size hint han… | |
Diffstat: | |
M config.arg.h | 1 + | |
M config.default.h | 1 + | |
M config.mk | 2 +- | |
M tile.c | 2 +- | |
4 files changed, 4 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/config.arg.h b/config.arg.h | |
t@@ -31,6 +31,7 @@ static Layout layouts[] = { \ | |
{ "[]=", tile }, /* first entry is default */ \ | |
{ "><>", floating }, \ | |
}; | |
+#define RESIZEHINTS False /* True - respect size hints i… | |
#define MWFACT 0.6 /* master width factor [0.1 .… | |
#define SNAP 32 /* snap pixel */ | |
diff --git a/config.default.h b/config.default.h | |
t@@ -32,6 +32,7 @@ static Layout layouts[] = { \ | |
{ "[]=", tile }, /* first entry is default */ \ | |
{ "><>", floating }, \ | |
}; | |
+#define RESIZEHINTS False /* True - respect size hints i… | |
#define MWFACT 0.6 /* master width factor [0.1 .… | |
#define SNAP 32 /* snap pixel */ | |
diff --git a/config.mk b/config.mk | |
t@@ -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 | |
t@@ -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; | |
} |