diff options
Diffstat (limited to 'sway/desktop/xdg_shell.c')
-rw-r--r-- | sway/desktop/xdg_shell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/desktop/xdg_shell.c b/sway/desktop/xdg_shell.c index aae129bd..f5aaa575 100644 --- a/sway/desktop/xdg_shell.c +++ b/sway/desktop/xdg_shell.c | |||
@@ -448,7 +448,7 @@ static void handle_destroy(struct wl_listener *listener, void *data) { | |||
448 | wl_list_remove(&xdg_shell_view->map.link); | 448 | wl_list_remove(&xdg_shell_view->map.link); |
449 | wl_list_remove(&xdg_shell_view->unmap.link); | 449 | wl_list_remove(&xdg_shell_view->unmap.link); |
450 | view->wlr_xdg_surface = NULL; | 450 | view->wlr_xdg_surface = NULL; |
451 | view_destroy(view); | 451 | view_begin_destroy(view); |
452 | } | 452 | } |
453 | 453 | ||
454 | struct sway_view *view_from_wlr_xdg_surface( | 454 | struct sway_view *view_from_wlr_xdg_surface( |