aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-09-27 12:39:29 +0200
committeremersion <contact@emersion.fr>2018-09-27 12:39:29 +0200
commit1b598f67ca28dce6b61829694ba1a55d05e35678 (patch)
tree8c37c7ff2e44af2ecd7a2d38949307bb951f66cf /include
parentfadbdcd13c7fcbbad0eebc4867e23cf71c01df1d (diff)
pointer-constraints: add unstable header
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_pointer_constraints_v1.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_pointer_constraints_v1.h b/include/wlr/types/wlr_pointer_constraints_v1.h
index 98442241..fef8c2e9 100644
--- a/include/wlr/types/wlr_pointer_constraints_v1.h
+++ b/include/wlr/types/wlr_pointer_constraints_v1.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_TYPES_WLR_POINTER_CONSTRAINTS_V1_H
#define WLR_TYPES_WLR_POINTER_CONSTRAINTS_V1_H