[PATCH weston 10/12] fullscreen-shell: update for manual surface/view mapping

Armin Krezović krezovic.armin at gmail.com
Thu Jun 23 09:59:38 UTC 2016


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

Signed-off-by: Armin Krezović <krezovic.armin at gmail.com>
---
 fullscreen-shell/fullscreen-shell.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/fullscreen-shell/fullscreen-shell.c b/fullscreen-shell/fullscreen-shell.c
index ecaebfa..8b89c88 100644
--- a/fullscreen-shell/fullscreen-shell.c
+++ b/fullscreen-shell/fullscreen-shell.c
@@ -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->is_mapped = true;
+	fsout->black_view->surface->is_mapped = true;
 	weston_layer_entry_insert(&shell->layer.view_list,
 		       &fsout->black_view->layer_link);
 	wl_list_init(&fsout->transform.link);
-- 
2.9.0



More information about the wayland-devel mailing list