backend/drm: destroy DRM connectors that disappear
This was lost during the refactoring. We were previously calling
wlr_output_destroy, which destroyed the connector as well.
Fixes: ("backend/drm: refactor wlr_output destruction")
@@ -1417,7 +1417,7 @@ void scan_drm_connectors(struct wlr_drm_backend *drm) {
}
wlr_log(WLR_INFO, "'%s' disappeared", conn->name);
- disconnect_drm_connector(conn);
+ destroy_drm_connector(conn);
}
realloc_crtcs(drm);
