aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/xwayland.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-07-13 08:40:56 -0400
committerDrew DeVault <sir@cmpwn.com>2018-07-29 19:20:34 -0400
commit211ae764fdbf585d1cf3d17dddad346b42a93f98 (patch)
tree01980ec58ae327d782db99d263a822676e226d7e /include/wlr/xwayland.h
parente67cb8c07ced35be9dc009effb75af05dc4403e4 (diff)
Initial pass on API stability guarantees
This introduces -DWLR_USE_UNSTABLE and adds information regarding the stability status to all headers. I started with a conservative set of headers to mark as stable: - types/wlr_matrix.h - util/edges.h - util/log.h - util/region.h - xcursor.h
Diffstat (limited to 'include/wlr/xwayland.h')
-rw-r--r--include/wlr/xwayland.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/wlr/xwayland.h b/include/wlr/xwayland.h
index e7f7a467..39644dc1 100644
--- a/include/wlr/xwayland.h
+++ b/include/wlr/xwayland.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_XWAYLAND_H
#define WLR_XWAYLAND_H