expected-anysize-0.9

This commit is contained in:
2026-08-03 00:35:45 +02:00
parent 04ce0d643e
commit 393dfcdf1c
2 changed files with 17 additions and 2 deletions
+15
View File
@@ -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;