desktop: move scene-tree node in move-to-back

view_minimize() does not need to call desktop_move_to_back() because the
stacking order is not changed and the windowSwitcher uses the scene-tree
nodes anyway.

Note: Movement of xwayland sub-views still relies on keeping server->views
in sync with z-order
This commit is contained in:
Johan Malm 2023-03-25 16:38:43 +00:00 committed by Johan Malm
parent e45fe0804d
commit a6896e6978
7 changed files with 36 additions and 6 deletions

View file

@ -455,6 +455,7 @@ static const struct view_impl xdg_toplevel_view_impl = {
.unmap = xdg_toplevel_view_unmap,
.maximize = xdg_toplevel_view_maximize,
.move_to_front = view_impl_move_to_front,
.move_to_back = view_impl_move_to_back,
};
void