diff options
author | Simon Ser <contact@emersion.fr> | 2020-12-22 19:38:29 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-12-22 19:38:29 +0100 |
commit | 85cf4b235deedda89737d146c9ebf23958c0b8f6 (patch) | |
tree | 1750429423ae2456d13b90d677e41a617eb86743 /backend | |
parent | f6fc4c28830dd2391d7e61f7cec0c4d2d89d1f07 (diff) |
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")
Diffstat (limited to 'backend')
-rw-r--r-- | backend/drm/drm.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |