From a598e6d026548ce7ab580504e05a71a5296b83f0 Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Fri, 22 Sep 2017 14:58:41 +1200 Subject: Add X11 backend skeleton --- include/backend/x11.h | 8 ++++++++ include/wlr/backend/x11.h | 11 +++++++++++ 2 files changed, 19 insertions(+) create mode 100644 include/backend/x11.h create mode 100644 include/wlr/backend/x11.h (limited to 'include') 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 +#include + +struct wlr_backend *wlr_x11_backend_create(const char *display); + +bool wlr_backend_is_x11(struct wlr_backend *backend); + +#endif -- cgit v1.2.3