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: 248c7787c7 ("backend/drm: refactor wlr_output destruction")
This commit is contained in:
Simon Ser 2020-12-22 19:38:29 +01:00
parent f6fc4c2883
commit 85cf4b235d
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48
1 changed files with 1 additions and 1 deletions

View File

@ -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);