aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorDominique Martinet <asmadeus@codewreck.org>2017-12-19 19:59:08 +0100
committerDominique Martinet <asmadeus@codewreck.org>2017-12-19 20:13:49 +0100
commitbe95147385b961c9734d2c4406df90d93f3d45a9 (patch)
tree7446d390fd8e34bb0e44a4efa6c52d6364fccbd0 /include/wlr
parentdabfe159dea502a51617d90785343cee18cf408b (diff)
drm backend: add wlr_output_is_drm
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/backend/drm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/wlr/backend/drm.h b/include/wlr/backend/drm.h
index b3475703..133e4f69 100644
--- a/include/wlr/backend/drm.h
+++ b/include/wlr/backend/drm.h
@@ -4,10 +4,12 @@
#include <wayland-server.h>
#include <wlr/backend/session.h>
#include <wlr/backend.h>
+#include <wlr/types/wlr_output.h>
struct wlr_backend *wlr_drm_backend_create(struct wl_display *display,
struct wlr_session *session, int gpu_fd, struct wlr_backend *parent);
bool wlr_backend_is_drm(struct wlr_backend *backend);
+bool wlr_output_is_drm(struct wlr_output *output);
#endif