mirror of
https://codeberg.org/FabricSoul/dwl.git
synced 2025-08-03 20:10:23 -04:00
Fix crash disabling monitor with locked surface
This commit is contained in:
parent
78e75a83a4
commit
d1880b4422
1 changed files with 2 additions and 0 deletions
2
dwl.c
2
dwl.c
|
@ -739,6 +739,8 @@ cleanupmon(struct wl_listener *listener, void *data)
|
|||
wl_list_remove(&m->frame.link);
|
||||
wl_list_remove(&m->link);
|
||||
wl_list_remove(&m->request_state.link);
|
||||
if (m->lock_surface)
|
||||
destroylocksurface(&m->destroy_lock_surface, NULL);
|
||||
m->wlr_output->data = NULL;
|
||||
wlr_output_layout_remove(output_layout, m->wlr_output);
|
||||
wlr_scene_output_destroy(m->scene_output);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue