mirror of
https://github.com/swaywm/sway.git
synced 2025-10-29 05:40:18 -04:00
server: fix shutdown crash when running on x11 backend
Signed-off-by: Loukas Agorgianitis <loukas@agorgianitis.com>
This commit is contained in:
parent
240a69ad63
commit
4943534929
1 changed files with 3 additions and 1 deletions
|
|
@ -484,7 +484,9 @@ void server_fini(struct sway_server *server) {
|
|||
wl_list_remove(&server->output_manager_test.link);
|
||||
wl_list_remove(&server->output_power_manager_set_mode.link);
|
||||
#if WLR_HAS_DRM_BACKEND
|
||||
wl_list_remove(&server->drm_lease_request.link);
|
||||
if (server->drm_lease_manager) {
|
||||
wl_list_remove(&server->drm_lease_request.link);
|
||||
}
|
||||
#endif
|
||||
wl_list_remove(&server->tearing_control_new_object.link);
|
||||
wl_list_remove(&server->xdg_activation_v1_request_activate.link);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue