aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/macros.hpp
diff options
context:
space:
mode:
authorMightyPlaza <[email protected]>2024-10-30 18:58:36 +0000
committerGitHub <[email protected]>2024-10-30 18:58:36 +0000
commit12c1bb936dd463c4188def1c73c2bb786433a6dc (patch)
treed59596edbf4c4ffa0581b92e3bbcf5710e9758e6 /src/macros.hpp
parent5f721dce36651232ae245d872c17dfa3aae5cc6c (diff)
downloadHyprland-12c1bb936dd463c4188def1c73c2bb786433a6dc.tar.gz
Hyprland-12c1bb936dd463c4188def1c73c2bb786433a6dc.zip
internal: check size limit in layouts (#8298)
modified: src/desktop/Window.cpp modified: src/desktop/Window.hpp modified: src/events/Windows.cpp modified: src/helpers/MiscFunctions.cpp modified: src/helpers/MiscFunctions.hpp modified: src/layout/DwindleLayout.cpp modified: src/layout/IHyprLayout.cpp modified: src/layout/MasterLayout.cpp modified: src/macros.hpp
Diffstat (limited to 'src/macros.hpp')
-rw-r--r--src/macros.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/macros.hpp b/src/macros.hpp
index 44014085..8915e12d 100644
--- a/src/macros.hpp
+++ b/src/macros.hpp
@@ -29,6 +29,8 @@
#define MONITOR_INVALID -1L
+#define MIN_WINDOW_SIZE 20.0
+
#define LISTENER(name) \
void listener_##name(wl_listener*, void*); \
inline wl_listener listen_##name = {.notify = listener_##name}