diff options
Diffstat (limited to 'backend/drm/backend.c')
-rw-r--r-- | backend/drm/backend.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/backend/drm/backend.c b/backend/drm/backend.c index fc383832..1492c4d4 100644 --- a/backend/drm/backend.c +++ b/backend/drm/backend.c @@ -33,7 +33,7 @@ static void backend_destroy(struct wlr_backend *backend) { struct wlr_drm_backend *drm = get_drm_backend_from_backend(backend); struct wlr_drm_connector *conn, *next; - wl_list_for_each_safe(conn, next, &drm->outputs, link) { + wl_list_for_each_safe(conn, next, &drm->connectors, link) { destroy_drm_connector(conn); } @@ -104,7 +104,7 @@ static void handle_session_active(struct wl_listener *listener, void *data) { scan_drm_connectors(drm, NULL); struct wlr_drm_connector *conn; - wl_list_for_each(conn, &drm->outputs, link) { + wl_list_for_each(conn, &drm->connectors, link) { struct wlr_output_mode *mode = NULL; uint32_t committed = WLR_OUTPUT_STATE_ENABLED; if (conn->status != DRM_MODE_DISCONNECTED && conn->output.enabled @@ -195,7 +195,7 @@ struct wlr_backend *wlr_drm_backend_create(struct wl_display *display, drm->session = session; wl_list_init(&drm->fbs); - wl_list_init(&drm->outputs); + wl_list_init(&drm->connectors); drm->dev = dev; drm->fd = dev->fd; |