aboutsummaryrefslogtreecommitdiff
path: root/dwl.c
diff options
context:
space:
mode:
authorBen Collerson <benc@benc.cc>2023-06-28 15:53:15 +1000
committerLeonardo Hernández <leohdz172@proton.me>2023-08-22 22:20:39 -0600
commit9be85c11174e0d3e8e122039142af45f87c1151d (patch)
treee89da7a90a58464a3ef005b667faa26c8331b229 /dwl.c
parent4b8c1bf31e9619db58eadf593617ba060d62418d (diff)
tagcount should have been a #define
Diffstat (limited to 'dwl.c')
-rw-r--r--dwl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwl.c b/dwl.c
index 4ff5c37..170fa29 100644
--- a/dwl.c
+++ b/dwl.c
@@ -67,7 +67,7 @@
#define VISIBLEON(C, M) ((M) && (C)->mon == (M) && ((C)->tags & (M)->tagset[(M)->seltags]))
#define LENGTH(X) (sizeof X / sizeof X[0])
#define END(A) ((A) + LENGTH(A))
-#define TAGMASK ((1u << tagcount) - 1)
+#define TAGMASK ((1u << TAGCOUNT) - 1)
#define LISTEN(E, L, H) wl_signal_add((E), ((L)->notify = (H), (L)))
#define IDLE_NOTIFY_ACTIVITY wlr_idle_notify_activity(idle, seat), wlr_idle_notifier_v1_notify_activity(idle_notifier, seat)