diff options
Diffstat (limited to 'sway/tree/view.c')
-rw-r--r-- | sway/tree/view.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/tree/view.c b/sway/tree/view.c index 0004ed14..589a3f7e 100644 --- a/sway/tree/view.c +++ b/sway/tree/view.c | |||
@@ -847,7 +847,7 @@ void view_map(struct sway_view *view, struct wlr_surface *wlr_surface, | |||
847 | } | 847 | } |
848 | 848 | ||
849 | void view_unmap(struct sway_view *view) { | 849 | void view_unmap(struct sway_view *view) { |
850 | wl_signal_emit(&view->events.unmap, view); | 850 | wl_signal_emit_mutable(&view->events.unmap, view); |
851 | 851 | ||
852 | wl_list_remove(&view->surface_new_subsurface.link); | 852 | wl_list_remove(&view->surface_new_subsurface.link); |
853 | 853 | ||