From da81ae1704464a58c1efd9eb394ac350b6e8865c Mon Sep 17 00:00:00 2001 From: Bakkeby Date: Tue, 4 Mar 2025 10:12:43 +0100 Subject: [PATCH] dynamic padding - add explicit dependency on the ANYSIZE_PATCH ref. #168 --- patches.def.h | 2 ++ st.h | 5 ----- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/patches.def.h b/patches.def.h index 63e5f21..466b057 100644 --- a/patches.def.h +++ b/patches.def.h @@ -160,6 +160,8 @@ * 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). + * + * Note that this patch depends on ANYSIZE_PATCH being enabled to have an effect. */ #define DYNAMIC_PADDING_PATCH 0 diff --git a/st.h b/st.h index 4af046c..0464f24 100644 --- a/st.h +++ b/st.h @@ -11,11 +11,6 @@ #include #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))