diff options
author | Nikita Ivanov <nikita.vyach.ivanov@gmail.com> | 2025-02-04 20:51:06 +0100 |
---|---|---|
committer | Leonardo Hernández Hernández <leohdz172@proton.me> | 2025-06-09 13:33:02 -0600 |
commit | d1880b44223701c91b51b319fc69a0f63044f861 (patch) | |
tree | d5a564f270c5179c0bc210aeaa115650588822f1 | |
parent | 78e75a83a4541d0fd4c5b0be56057380a5fb639e (diff) |
Fix crash disabling monitor with locked surface
-rw-r--r-- | dwl.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |