diff options
Diffstat (limited to 'sway')
-rw-r--r-- | sway/tree/view.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/tree/view.c b/sway/tree/view.c index c762fa22..43c37bda 100644 --- a/sway/tree/view.c +++ b/sway/tree/view.c | |||
@@ -56,6 +56,7 @@ void view_destroy(struct sway_view *view) { | |||
56 | "(might have a pending transaction?)")) { | 56 | "(might have a pending transaction?)")) { |
57 | return; | 57 | return; |
58 | } | 58 | } |
59 | wl_list_remove(&view->events.unmap.listener_list); | ||
59 | if (!wl_list_empty(&view->saved_buffers)) { | 60 | if (!wl_list_empty(&view->saved_buffers)) { |
60 | view_remove_saved_buffer(view); | 61 | view_remove_saved_buffer(view); |
61 | } | 62 | } |