# HG changeset patch # User Anselm R. Garbe # Date 1189355319 -7200 # Node ID 1f295ac327ef1c738457469017a9ec0b8a8223b8 # Parent c3c850b5ad892ea55d87062c1a4d292a9b1104d9 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 @@ { "[]=", 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 @@ { "[]=", 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 @@ 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; }