aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/backend/x11.h8
-rw-r--r--include/wlr/backend/x11.h11
2 files changed, 19 insertions, 0 deletions
diff --git a/include/backend/x11.h b/include/backend/x11.h
new file mode 100644
index 00000000..2f319672
--- /dev/null
+++ b/include/backend/x11.h
@@ -0,0 +1,8 @@
+#ifndef WLR_X11_H
+#define WLR_X11_H
+
+struct wlr_x11_backend {
+ struct wlr_backend backend;
+};
+
+#endif
diff --git a/include/wlr/backend/x11.h b/include/wlr/backend/x11.h
new file mode 100644
index 00000000..28d027c5
--- /dev/null
+++ b/include/wlr/backend/x11.h
@@ -0,0 +1,11 @@
+#ifndef WLR_BACKEND_X11_H
+#define WLR_BACKEND_X11_H
+
+#include <wlr/backend.h>
+#include <stdbool.h>
+
+struct wlr_backend *wlr_x11_backend_create(const char *display);
+
+bool wlr_backend_is_x11(struct wlr_backend *backend);
+
+#endif