diff --git a/src/surface/xwayland_view.cpp b/src/surface/xwayland_view.cpp index eac84d4ed..b7b6f6cd8 100644 --- a/src/surface/xwayland_view.cpp +++ b/src/surface/xwayland_view.cpp @@ -196,6 +196,7 @@ void XWaylandView::map() { wlr_scene_tree* scene_tree = wlr_scene_subsurface_tree_create(&server.scene->tree, xwayland_surface.surface); scene_node = &scene_tree->node; + scene_node->data = this; if (xwayland_surface.parent != nullptr) { auto* m_view = dynamic_cast(static_cast(xwayland_surface.parent->data));