aboutsummaryrefslogtreecommitdiff
path: root/patches/st-expected-anysize-0.9.diff
blob: e3479dec356b4f4e0336fd85b4207a5be34e6972 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/x.c b/x.c
index aa09997..ea6e016 100644
--- a/x.c
+++ b/x.c
@@ -869,8 +869,8 @@ xhints(void)
 	sizeh->flags = PSize | PResizeInc | PBaseSize | PMinSize;
 	sizeh->height = win.h;
 	sizeh->width = win.w;
-	sizeh->height_inc = win.ch;
-	sizeh->width_inc = win.cw;
+	sizeh->height_inc = 1;
+	sizeh->width_inc = 1;
 	sizeh->base_height = 2 * borderpx;
 	sizeh->base_width = 2 * borderpx;
 	sizeh->min_height = win.ch + 2 * borderpx;