aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorScott Anderson <ascent12@hotmail.com>2017-09-22 14:58:41 +1200
committerScott Anderson <ascent12@hotmail.com>2017-09-29 16:12:13 +1300
commita598e6d026548ce7ab580504e05a71a5296b83f0 (patch)
treeb716cc262402b9f175d9918ff556d3307b2d52cc /include
parent6479fb27be364ef6ee7c5289c18d015ec3d8c2f3 (diff)
Add X11 backend skeleton
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