Applied st-expected-anysize patch

This commit is contained in:
2024-04-22 23:25:14 +05:30
parent d63b9eb902
commit f2987e1f31
2 changed files with 17 additions and 2 deletions

4
x.c
View File

@@ -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;