aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/backend
diff options
context:
space:
mode:
authorDominique Martinet <asmadeus@codewreck.org>2017-12-19 19:49:46 +0100
committerDominique Martinet <asmadeus@codewreck.org>2017-12-19 20:13:49 +0100
commitf83b16bc17ab9a95c23d235416acc2c26daa640d (patch)
treebec7063a1fb14c222c3ea3d9d7f08877aee2b1e9 /include/wlr/backend
parent3e228b0b2ac6fbeee544764aa1c3aa1e7e501af1 (diff)
x11 backend: add wlr_output_is_x11
Diffstat (limited to 'include/wlr/backend')
-rw-r--r--include/wlr/backend/x11.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/wlr/backend/x11.h b/include/wlr/backend/x11.h
index 3901649b..667bfd15 100644
--- a/include/wlr/backend/x11.h
+++ b/include/wlr/backend/x11.h
@@ -4,10 +4,12 @@
#include <stdbool.h>
#include <wayland-server.h>
#include <wlr/backend.h>
+#include <wlr/types/wlr_output.h>
struct wlr_backend *wlr_x11_backend_create(struct wl_display *display,
const char *x11_display);
bool wlr_backend_is_x11(struct wlr_backend *backend);
+bool wlr_output_is_x11(struct wlr_output *output);
#endif