From 85cf4b235deedda89737d146c9ebf23958c0b8f6 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 22 Dec 2020 19:38:29 +0100 Subject: 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: 248c7787c7b4 ("backend/drm: refactor wlr_output destruction") --- backend/drm/drm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend') diff --git a/backend/drm/drm.c b/backend/drm/drm.c index 5c83740c..5bdb326e 100644 --- a/backend/drm/drm.c +++ b/backend/drm/drm.c @@ -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); -- cgit v1.2.3