mirror of
https://github.com/labwc/labwc.git
synced 2026-03-27 07:58:31 -04:00
xwayland: hide content tree at re-map if shaded
This commit is contained in:
parent
8bd20f19dc
commit
35b3980a5b
2 changed files with 7 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue