mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-10-04 21:42:37 +00:00
desktop-shell: Use weston_view_move_to_layer() for fullscreen
Use our helper to move stuff around. Signed-off-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
parent
e2a48f6f68
commit
4bbe4e6e98
|
@ -1972,10 +1972,8 @@ shell_configure_fullscreen(struct shell_surface *shsurf)
|
|||
struct weston_surface *surface =
|
||||
weston_desktop_surface_get_surface(shsurf->desktop_surface);
|
||||
|
||||
/* Reverse the effect of lower_fullscreen_layer() */
|
||||
weston_layer_entry_remove(&shsurf->view->layer_link);
|
||||
weston_layer_entry_insert(&shsurf->shell->fullscreen_layer.view_list,
|
||||
&shsurf->view->layer_link);
|
||||
weston_view_move_to_layer(shsurf->view,
|
||||
&shsurf->shell->fullscreen_layer.view_list);
|
||||
|
||||
shell_ensure_fullscreen_black_view(shsurf);
|
||||
|
||||
|
|
Loading…
Reference in a new issue