aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop/xwayland.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/desktop/xwayland.c')
-rw-r--r--sway/desktop/xwayland.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/desktop/xwayland.c b/sway/desktop/xwayland.c
index 0f708201..28d7c058 100644
--- a/sway/desktop/xwayland.c
+++ b/sway/desktop/xwayland.c
@@ -401,6 +401,7 @@ static void handle_map(struct wl_listener *listener, void *data) {
401 // This window used not to have the override redirect flag and has it 401 // This window used not to have the override redirect flag and has it
402 // now. Switch to unmanaged. 402 // now. Switch to unmanaged.
403 handle_destroy(&xwayland_view->destroy, view); 403 handle_destroy(&xwayland_view->destroy, view);
404 xsurface->data = NULL;
404 struct sway_xwayland_unmanaged *unmanaged = create_unmanaged(xsurface); 405 struct sway_xwayland_unmanaged *unmanaged = create_unmanaged(xsurface);
405 unmanaged_handle_map(&unmanaged->map, xsurface); 406 unmanaged_handle_map(&unmanaged->map, xsurface);
406 return; 407 return;