about summary refs log tree commit diff stats
path: root/dwm.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@gmail.com>2007-10-24 20:34:08 +0200
committerAnselm R. Garbe <garbeam@gmail.com>2007-10-24 20:34:08 +0200
commit5473e763f6ed7f2f248bc980c0b210edbcc1393c (patch)
treed10e63a11cdad863e9a259ecea3b963e342a3b3c /dwm.c
parentcdd6c3e820a360aaca1e8cd9c4b882bac1448261 (diff)
downloaddwm-5473e763f6ed7f2f248bc980c0b210edbcc1393c.tar.gz
also consider width for tile fallback enforcing
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index f61ce3b..862ec24 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1596,7 +1596,8 @@ tile(void) {
 				nh = th - 2 * c->border;
 		}
 		resize(c, nx, ny, nw, nh, True);
-		if((c->h < bh) || (c->h > nh)) /* client doesn't accept geometry */
+		if((c->h < bh) || (c->h > nh) || (c->w < bh) || (c->w > nw))
+			/* client doesn't accept geometry, so enforce it */
 			resize(c, nx, ny, nw, nh, False);
 		if(n > 1 && th != wah)
 			ny = c->y + c->h + 2 * c->border;
0200 initial import' href='/acidbong/suckless/dwm/commit/README?h=5.3.1&id=1076f2b6b3d3751d5d5db6fcb9ac8c247e04e893'>1076f2b
650a1fb ^
01a8d44 ^
650a1fb ^
1076f2b
650a1fb ^
1076f2b
650a1fb ^
1076f2b

650a1fb ^
1076f2b
eff4478 ^
1076f2b
7b5638f ^

98c6a92 ^
98c6a92 ^


7b5638f ^
2b66f7a ^
98c6a92 ^
7b5638f ^
1076f2b

dc5c070 ^

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