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

View file

@ -154,6 +154,15 @@
*/
#define DYNAMIC_CURSOR_COLOR_PATCH 0
/* This is a variant of the anysize patch that explicitly do not change the size increment hints,
* i.e. only keeping the dynamic padding which is the main thing the anysize patch introduces.
* In practice this means that the dynamic padding / anysize functionality only ever comes into
* effect when the size hints are intentionally ignored.
* An example of this would be dwm respecting the size hints of floating windows, but disrespecting
* the size hints when the window is tiled (provided that resizehints config is set to 0).
*/
#define DYNAMIC_PADDING_PATCH 0
/* Reading and writing st's screen through a pipe, e.g. pass info to dmenu.
* https://st.suckless.org/patches/externalpipe/
*/