aboutsummaryrefslogtreecommitdiff
path: root/x.c
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-04-22 23:25:14 +0530
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-04-22 23:25:14 +0530
commitf2987e1f3102cd0d4fbbfba87f7315e047294c6f (patch)
treefb3a1f6b84812eaf054e8cf08e080ee7af8f2592 /x.c
parentd63b9eb90245926b531bd54b1d591adb96613e70 (diff)
downloadst-f2987e1f3102cd0d4fbbfba87f7315e047294c6f.tar.gz
st-f2987e1f3102cd0d4fbbfba87f7315e047294c6f.tar.bz2
st-f2987e1f3102cd0d4fbbfba87f7315e047294c6f.zip
Applied st-expected-anysize patch
Diffstat (limited to 'x.c')
-rw-r--r--x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/x.c b/x.c
index bd23686..0582732 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;