From 4486b52aa8e5e5273a779908ad8e823fa1bd2812 Mon Sep 17 00:00:00 2001 From: Ilia Bozhinov Date: Mon, 13 Aug 2018 09:37:44 +0300 Subject: move wlr_drm_connector_add_mode to wlr/backend/drm.h --- include/wlr/backend/drm.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/wlr/backend') diff --git a/include/wlr/backend/drm.h b/include/wlr/backend/drm.h index a8a5525e..5d47647d 100644 --- a/include/wlr/backend/drm.h +++ b/include/wlr/backend/drm.h @@ -28,6 +28,12 @@ struct wlr_backend *wlr_drm_backend_create(struct wl_display *display, bool wlr_backend_is_drm(struct wlr_backend *backend); bool wlr_output_is_drm(struct wlr_output *output); +/** + * Add mode to the list of available modes + */ +typedef struct _drmModeModeInfo drmModeModeInfo; +bool wlr_drm_connector_add_mode(struct wlr_output *output, const drmModeModeInfo *mode); + struct wlr_session *wlr_drm_backend_get_session(struct wlr_backend *backend); #endif -- cgit v1.2.3