Adding dynamic padding patch - a variant of anysize that do not alter size hints ref. #168

This commit is contained in:
Bakkeby 2025-02-26 22:36:19 +01:00
parent 75da349fb3
commit d60f1b355f
3 changed files with 15 additions and 1 deletions

2
x.c
View file

@ -1137,7 +1137,7 @@ xhints(void)
sizeh->flags = PSize | PResizeInc | PBaseSize | PMinSize;
sizeh->height = win.h;
sizeh->width = win.w;
#if ANYSIZE_PATCH || ANYSIZE_SIMPLE_PATCH
#if ANYSIZE_PATCH && !DYNAMIC_PADDING_PATCH || ANYSIZE_SIMPLE_PATCH
sizeh->height_inc = 1;
sizeh->width_inc = 1;
#else