diff options
Diffstat (limited to 'backend')
-rw-r--r-- | backend/drm/drm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c index aa34f1a4..32bb50c1 100644 --- a/backend/drm/drm.c +++ b/backend/drm/drm.c @@ -1363,14 +1363,14 @@ void scan_drm_connectors(struct wlr_drm_backend *drm, snprintf(wlr_conn->name, sizeof(wlr_conn->name), "%s-%"PRIu32, conn_name, drm_conn->connector_type_id); + wlr_conn->crtc = connector_get_current_crtc(wlr_conn, drm_conn); + wl_list_insert(drm->outputs.prev, &wlr_conn->link); wlr_log(WLR_INFO, "Found connector '%s'", wlr_conn->name); } else { seen[index] = true; } - wlr_conn->crtc = connector_get_current_crtc(wlr_conn, drm_conn); - // This can only happen *after* hotplug, since we haven't read the // connector properties yet if (wlr_conn->props.link_status != 0) { |