From da2a2169344ef2dbe0dc31fd013caf30880d6aff Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 9 Dec 2020 14:31:06 +0100 Subject: backend/drm: add wlr_drm_connector.backend This allows the DRM code to have direct access to the wlr_drm_backend without having to go through an upcast via get_drm_backend_from_backend. --- include/backend/drm/drm.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/backend') diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h index 7b53f7fc..e8b1198f 100644 --- a/include/backend/drm/drm.h +++ b/include/backend/drm/drm.h @@ -111,6 +111,7 @@ struct wlr_drm_mode { struct wlr_drm_connector { struct wlr_output output; + struct wlr_drm_backend *backend; enum wlr_drm_connector_state state; struct wlr_output_mode *desired_mode; bool desired_enabled; -- cgit v1.2.3