xwayland: hide content tree at re-map if shaded

This commit is contained in:
John Lindgren 2025-11-24 12:00:34 -05:00
parent 8bd20f19dc
commit 35b3980a5b
2 changed files with 7 additions and 1 deletions

View file

@ -816,6 +816,8 @@ handle_map(struct wl_listener *listener, void *data)
}
}
wlr_scene_node_set_enabled(&view->content_tree->node, !view->shaded);
if (!view->been_mapped) {
check_natural_geometry(view);
set_initial_position(view, xwayland_surface);