mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2025-12-20 04:40:07 +01: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
1 changed files with 3 additions and 4 deletions
|
|
@ -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…
Add table
Reference in a new issue