aboutsummaryrefslogtreecommitdiff
path: root/include/backend
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-12-09 14:31:06 +0100
committerSimon Ser <contact@emersion.fr>2020-12-15 22:56:14 +0100
commitda2a2169344ef2dbe0dc31fd013caf30880d6aff (patch)
tree04eab765e18c489614e27a7919ab184b49e49d23 /include/backend
parent87bd718de54ced41544e88200418bc091a1fce50 (diff)
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.
Diffstat (limited to 'include/backend')
-rw-r--r--include/backend/drm/drm.h1
1 files changed, 1 insertions, 0 deletions
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;