summaryrefslogtreecommitdiff
path: root/src/defs.h
diff options
context:
space:
mode:
authorAbhinav <abhinav.prsai@gmail.com>2025-06-21 12:02:43 +0100
committerAbhinav <abhinav.prsai@gmail.com>2025-06-21 12:02:43 +0100
commit8f4933642e2f2616321dcf7dda4f409aa1f20115 (patch)
tree297dc3142b0c8e38e6127729811c5e735e3301bf /src/defs.h
parentfaba12b660834f65aa759625b04efd9fb7d7a4eb (diff)
move MIN_WINDOW_SIZE to defs.h
Diffstat (limited to 'src/defs.h')
-rw-r--r--src/defs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/defs.h b/src/defs.h
index 77fa0b2..a0e06f2 100644
--- a/src/defs.h
+++ b/src/defs.h
@@ -20,6 +20,7 @@
#define UDIST(a, b) abs((int)(a) - (int)(b))
#define CLAMP(x, lo, hi) (((x) < (lo)) ? (lo) : ((x) > (hi)) ? (hi) : (x))
#define MAXCLIENTS 99
+#define MIN_WINDOW_SIZE 20
#define BIND(mod, key, cmdstr) {(mod), XK_##key, {cmdstr}, False}
#define CALL(mod, key, fnptr) {(mod), XK_##key, {.fn = fnptr}, True}
#define CMD(name, ...) const char *name[] = {__VA_ARGS__, NULL}