aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/interfaces/wlr_input_device.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-07-29 19:33:09 -0400
committerGitHub <noreply@github.com>2018-07-29 19:33:09 -0400
commit1c7957cdc1b9bc395510ab7decc1394c1bcd1206 (patch)
tree01980ec58ae327d782db99d263a822676e226d7e /include/wlr/interfaces/wlr_input_device.h
parente67cb8c07ced35be9dc009effb75af05dc4403e4 (diff)
parent211ae764fdbf585d1cf3d17dddad346b42a93f98 (diff)
Merge pull request #1131 from swaywm/initial-stable
Initial pass on API stability guarantees
Diffstat (limited to 'include/wlr/interfaces/wlr_input_device.h')
-rw-r--r--include/wlr/interfaces/wlr_input_device.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/wlr/interfaces/wlr_input_device.h b/include/wlr/interfaces/wlr_input_device.h
index a5c513b7..05248bf6 100644
--- a/include/wlr/interfaces/wlr_input_device.h
+++ b/include/wlr/interfaces/wlr_input_device.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_INPUT_DEVICE_H
#define WLR_INTERFACES_WLR_INPUT_DEVICE_H