From 99fb2fefc340278b29c3af9a53a319059599c8c7 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 6 Dec 2022 18:50:53 +0100 Subject: backend/drm: rename wlr_drm_backend.outputs to connectors This list contains wlr_drm_connector entries, and there is no guarantee that the wlr_output fields are initialized. --- include/backend/drm/drm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h index fa18225c..16126ec2 100644 --- a/include/backend/drm/drm.h +++ b/include/backend/drm/drm.h @@ -75,7 +75,7 @@ struct wlr_drm_backend { struct wl_listener dev_remove; struct wl_list fbs; // wlr_drm_fb.link - struct wl_list outputs; + struct wl_list connectors; // wlr_drm_connector.link /* Only initialized on multi-GPU setups */ struct wlr_drm_renderer mgpu_renderer; @@ -122,7 +122,7 @@ struct wlr_drm_connector { /* Buffer to be submitted to the kernel on the next page-flip */ struct wlr_drm_fb *cursor_pending_fb; - struct wl_list link; + struct wl_list link; // wlr_drm_backend.connectors /* CRTC ID if a page-flip is pending, zero otherwise. * -- cgit v1.2.3