aboutsummaryrefslogtreecommitdiff
path: root/st/x.c
diff options
context:
space:
mode:
authorCori Barker <coribarker2@gmail.com>2026-02-03 10:21:03 +0000
committerCori Barker <coribarker2@gmail.com>2026-02-03 10:21:03 +0000
commitc70ea026971c1471a6a39294db7aa4a0935ab478 (patch)
treeba3120e8ae8753b4804406d2a258d7bfd2ee06fa /st/x.c
parente25732524f314221881670dfe3226fb4bc911ba9 (diff)
Patched scrollback and newterm into st
Diffstat (limited to 'st/x.c')
-rwxr-xr-xst/x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/st/x.c b/st/x.c
index d73152b..43eeeba 100755
--- a/st/x.c
+++ b/st/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;