aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/interfaces/wlr_pointer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/wlr/interfaces/wlr_pointer.h')
-rw-r--r--include/wlr/interfaces/wlr_pointer.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/wlr/interfaces/wlr_pointer.h b/include/wlr/interfaces/wlr_pointer.h
index f0cf9081..fd3ab102 100644
--- a/include/wlr/interfaces/wlr_pointer.h
+++ b/include/wlr/interfaces/wlr_pointer.h
@@ -1,3 +1,11 @@
+/*
+ * This an unstable interface of wlroots. No guarantees are made regarding the
+ * future consistency of this API.
+ */
+#ifndef WLR_USE_UNSTABLE
+#error "Add -DWLR_USE_UNSTABLE to enable unstable wlroots features"
+#endif
+
#ifndef WLR_INTERFACES_WLR_POINTER_H
#define WLR_INTERFACES_WLR_POINTER_H