about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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 a427096..5a9a3ca 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 dab8cc7..96efa83 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 f9b5f7f..4b2ff6c 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 7915441..56a06d3 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;
 	}
ut <hut@lavabit.com> 2010-01-26 20:03:54 +0100 added unittest for flatten and unique' href='/akspecs/ranger/commit/test/tc_ext.py?h=v1.9.0b4&id=5a087b1667813ad75f84d0cfbe38babd428bf5d6'>5a087b16 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145