mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 12:55:58 +01: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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue