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 committed by Antoine Vaure
parent 3c7bcf616d
commit 9860867e10
3 changed files with 15 additions and 1 deletions

5
st.h
View file

@ -11,6 +11,11 @@
#include <X11/XKBlib.h>
#include "patches.h"
#if DYNAMIC_PADDING_PATCH
#undef ANYSIZE_PATCH
#define ANYSIZE_PATCH 1
#endif // DYNAMIC_PADDING_PATCH
/* macros */
#define MIN(a, b) ((a) < (b) ? (a) : (b))
#define MAX(a, b) ((a) < (b) ? (b) : (a))