mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-25 16:42:26 +00:00
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:
parent
f6fc4c2883
commit
85cf4b235d
@ -1417,7 +1417,7 @@ void scan_drm_connectors(struct wlr_drm_backend *drm) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
wlr_log(WLR_INFO, "'%s' disappeared", conn->name);
|
wlr_log(WLR_INFO, "'%s' disappeared", conn->name);
|
||||||
disconnect_drm_connector(conn);
|
destroy_drm_connector(conn);
|
||||||
}
|
}
|
||||||
|
|
||||||
realloc_crtcs(drm);
|
realloc_crtcs(drm);
|
||||||
|
Loading…
Reference in New Issue
Block a user