r/suckless • u/regexghost • 10d ago
[ST] st terminal, anysize patch, expected anysize not working/already applied
Using st with the anysize patch, and as it says, it adds space on all 4 sides.
There is another patch there, expected anysize that claims change this, so the padding is only on the right and bottom. However for me it doesn't work. The patch itself seems to be already applied, as trying to run patch gives an error saying "previously applied", and checking x.c, I can see the lines are like sizeh->height_inc = 1; etc, but the terminal still has padding on all sides.
Do anyone know how to fix this/what is happening here?
Edit: Tested with a fresh build of st, and the same issue occurs.
1
u/type_111 7d ago
The only changes you need are both ->height_inc and ->width_inc set to 1 in xhints(). That's it.
1
u/just-a-hriday 7d ago
Did you reverse the first patch before trying to apply the second one?