diff options
author | Dominique Martinet <asmadeus@codewreck.org> | 2017-12-19 19:59:08 +0100 |
---|---|---|
committer | Dominique Martinet <asmadeus@codewreck.org> | 2017-12-19 20:13:49 +0100 |
commit | be95147385b961c9734d2c4406df90d93f3d45a9 (patch) | |
tree | 7446d390fd8e34bb0e44a4efa6c52d6364fccbd0 /include | |
parent | dabfe159dea502a51617d90785343cee18cf408b (diff) |
drm backend: add wlr_output_is_drm
Diffstat (limited to 'include')
-rw-r--r-- | include/backend/drm/drm.h | 1 | ||||
-rw-r--r-- | include/wlr/backend/drm.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h index 1f70a103..278c387c 100644 --- a/include/backend/drm/drm.h +++ b/include/backend/drm/drm.h @@ -12,7 +12,6 @@ #include <wlr/backend/session.h> #include <wlr/backend/drm.h> -#include <wlr/types/wlr_output.h> #include <wlr/render/egl.h> #include "iface.h" 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 |