mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
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.
This commit is contained in:
parent
2c042566eb
commit
99fb2fefc3
3 changed files with 23 additions and 23 deletions
|
|
@ -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.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue