mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-10-01 19:38:34 +00:00
kiosk-shell: Use weston_view_move_to_layer() for background
Use the new layer-move helper for our background. Signed-off-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
parent
8255c49a1f
commit
a822d20701
|
@ -511,11 +511,10 @@ kiosk_shell_output_recreate_background(struct kiosk_shell_output *shoutput)
|
|||
weston_surface_set_role(shoutput->curtain->view->surface,
|
||||
"kiosk-shell-background", NULL, 0);
|
||||
|
||||
weston_layer_entry_insert(&shell->background_layer.view_list,
|
||||
&shoutput->curtain->view->layer_link);
|
||||
|
||||
shoutput->curtain->view->is_mapped = true;
|
||||
shoutput->curtain->view->surface->output = output;
|
||||
|
||||
weston_view_move_to_layer(shoutput->curtain->view,
|
||||
&shell->background_layer.view_list);
|
||||
weston_view_set_output(shoutput->curtain->view, output);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue