aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-12-06 18:50:53 +0100
committerSimon Zeni <simon@bl4ckb0ne.ca>2022-12-13 19:15:09 +0000
commit99fb2fefc340278b29c3af9a53a319059599c8c7 (patch)
treeeb14484682c55f250459d1cc0260bf3eb9a19958 /include
parent2c042566ebe2673e96f671b7e2b5953c3246de56 (diff)
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.
Diffstat (limited to 'include')
-rw-r--r--include/backend/drm/drm.h4
1 files changed, 2 insertions, 2 deletions
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.
*