mirror of
https://codeberg.org/dwl/dwl.git
synced 2025-09-06 11:14:44 +00:00
Fix crash disabling monitor with locked surface
(cherry picked from commit d1880b44223701c91b51b319fc69a0f63044f861)
This commit is contained in:
parent
2783d91611
commit
d5bbe6d54d
2
dwl.c
2
dwl.c
@ -716,6 +716,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…
x
Reference in New Issue
Block a user