Commit b1a48e66 authored by Armin Krezović's avatar Armin Krezović Committed by Pekka Paalanen

fullscreen-shell: update for manual surface/view mapping

This is a follow up for fullscreen-shell to manually
set mapped status for views/surfaces it controls

v2:

- Add manual mapping to fs_output_apply_pending()
Signed-off-by: default avatarArmin Krezović <krezovic.armin@gmail.com>
Reviewed-by: Pekka Paalanen's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
parent 4663aca2
......@@ -266,6 +266,8 @@ fs_output_create(struct fullscreen_shell *shell, struct weston_output *output)
fsout->black_view = create_black_surface(shell->compositor, fsout,
output->x, output->y,
output->width, output->height);
fsout->black_view->surface->is_mapped = true;
fsout->black_view->is_mapped = true;
weston_layer_entry_insert(&shell->layer.view_list,
&fsout->black_view->layer_link);
wl_list_init(&fsout->transform.link);
......@@ -588,6 +590,7 @@ fs_output_apply_pending(struct fs_output *fsout)
weston_log("no memory\n");
return;
}
fsout->view->is_mapped = true;
wl_signal_add(&fsout->surface->destroy_signal,
&fsout->surface_destroyed);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment