summaryrefslogtreecommitdiffstats
path: root/sway/desktop/xwayland.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/desktop/xwayland.c')
-rw-r--r--sway/desktop/xwayland.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c
index 1af8d248..40288f97 100644
--- a/sway/desktop/xwayland.c
+++ b/sway/desktop/xwayland.c
@@ -436,6 +436,8 @@ static void handle_destroy(struct wl_listener *listener, void *data) {
436 wl_list_remove(&xwayland_view->commit.link); 436 wl_list_remove(&xwayland_view->commit.link);
437 } 437 }
438 438
439 xwayland_view->view.wlr_xwayland_surface = NULL;
440
439 wl_list_remove(&xwayland_view->destroy.link); 441 wl_list_remove(&xwayland_view->destroy.link);
440 wl_list_remove(&xwayland_view->request_configure.link); 442 wl_list_remove(&xwayland_view->request_configure.link);
441 wl_list_remove(&xwayland_view->request_fullscreen.link); 443 wl_list_remove(&xwayland_view->request_fullscreen.link);