introduced new define RESIZEHINTS, which allows to enable/disable size hint handling in tiled resizals ae760f3f
Anselm R. Garbe · 2007-09-09 18:28 4 file(s) · +4 −2
config.arg.h +1 −0
31 31
	{ "[]=",		tile }, /* first entry is default */ \
32 32
	{ "><>",		floating }, \
33 33
};
34 +
#define RESIZEHINTS		False	/* True - respect size hints in tiled resizals */
34 35
#define MWFACT			0.6	/* master width factor [0.1 .. 0.9] */
35 36
#define SNAP			32	/* snap pixel */
36 37
config.default.h +1 −0
32 32
	{ "[]=",		tile }, /* first entry is default */ \
33 33
	{ "><>",		floating }, \
34 34
};
35 +
#define RESIZEHINTS		False	/* True - respect size hints in tiled resizals */
35 36
#define MWFACT			0.6	/* master width factor [0.1 .. 0.9] */
36 37
#define SNAP			32	/* snap pixel */
37 38
config.mk +1 −1
1 1
# dwm version
2 -
VERSION = 4.4.1
2 +
VERSION = 4.5
3 3
4 4
# Customize below to fit your system
5 5
tile.c +1 −1
63 63
			else
64 64
				nh = th - 2 * c->border;
65 65
		}
66 -
		resize(c, nx, ny, nw, nh, False);
66 +
		resize(c, nx, ny, nw, nh, RESIZEHINTS);
67 67
		if(n > 1 && th != wah)
68 68
			ny += nh + 2 * c->border;
69 69
	}