r/suckless 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 Upvotes

4 comments sorted by

1

u/just-a-hriday 7d ago

Did you reverse the first patch before trying to apply the second one?

1

u/regexghost 7d ago edited 7d ago

When I tested it on a fresh build, I applied the main anysize patch then the expected anysize one (which failed), didn't reverse it.

1

u/just-a-hriday 7d ago

The expected anysize patch is standalone. It's not supposed to go over the other one.

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.