From 0f6d5666aeb70283e50e132853cffb9ac82de683 Mon Sep 17 00:00:00 2001 From: mhsn Date: Mon, 30 Jun 2025 16:36:43 +0100 Subject: use correct patch for anysize --- x11-terms/st/files/02_expected-anysize-0.9.diff | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 x11-terms/st/files/02_expected-anysize-0.9.diff (limited to 'x11-terms/st/files/02_expected-anysize-0.9.diff') diff --git a/x11-terms/st/files/02_expected-anysize-0.9.diff b/x11-terms/st/files/02_expected-anysize-0.9.diff new file mode 100644 index 0000000..e3479de --- /dev/null +++ b/x11-terms/st/files/02_expected-anysize-0.9.diff @@ -0,0 +1,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; -- cgit v1.2.3