summaryrefslogtreecommitdiff
path: root/src/macros.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/macros.hpp')
-rw-r--r--src/macros.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/macros.hpp b/src/macros.hpp
index 851f1ca3..7fa25cfb 100644
--- a/src/macros.hpp
+++ b/src/macros.hpp
@@ -31,6 +31,9 @@
#define MIN_WINDOW_SIZE 20.0
+// max value 32 because killed is a int uniform
+#define POINTER_PRESSED_HISTORY_LENGTH 32
+
#define LISTENER(name) \
void listener_##name(wl_listener*, void*); \
inline wl_listener listen_##name = {.notify = listener_##name}