test-desktop-shell: Mark weston_curtain views as mapped

Make sure we're there when we need them.

Signed-off-by: Daniel Stone <daniels@collabora.com>
dev
Daniel Stone 2 years ago committed by Marius Vlad
parent 19744a5207
commit c0ff9ed24a
  1. 1
      tests/weston-test-desktop-shell.c

@ -225,6 +225,7 @@ wet_shell_init(struct weston_compositor *ec,
weston_layer_entry_insert(&dts->background_layer.view_list, weston_layer_entry_insert(&dts->background_layer.view_list,
&dts->background->view->layer_link); &dts->background->view->layer_link);
weston_view_update_transform(dts->background->view); weston_view_update_transform(dts->background->view);
dts->background->view->is_mapped = true;
dts->desktop = weston_desktop_create(ec, &shell_desktop_api, dts); dts->desktop = weston_desktop_create(ec, &shell_desktop_api, dts);
if (dts->desktop == NULL) if (dts->desktop == NULL)

Loading…
Cancel
Save