From 50ff4bf3087185bc6480e23fdade935e13abe13e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Armin=20Krezovi=C4=87?= Date: Thu, 30 Jun 2016 06:04:31 +0200 Subject: ivi-shell: update for manual surface/view mapping MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is a follow up for ivi-shell to manually set mapped status for views/surfaces it controls v2: - Updated for changes in git master Signed-off-by: Armin Krezović Reviewed-by: Pekka Paalanen --- ivi-shell/input-panel-ivi.c | 2 ++ ivi-shell/ivi-layout.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/ivi-shell/input-panel-ivi.c b/ivi-shell/input-panel-ivi.c index 581b56bc..954d4ef8 100644 --- a/ivi-shell/input-panel-ivi.c +++ b/ivi-shell/input-panel-ivi.c @@ -86,6 +86,8 @@ show_input_panel_surface(struct input_panel_surface *ipsurf) &ipsurf->view->layer_link); weston_view_geometry_dirty(ipsurf->view); weston_view_update_transform(ipsurf->view); + ipsurf->surface->is_mapped = true; + ipsurf->view->is_mapped = true; weston_surface_damage(ipsurf->surface); if (ipsurf->anim) diff --git a/ivi-shell/ivi-layout.c b/ivi-shell/ivi-layout.c index 6d7e0ee1..dec49363 100644 --- a/ivi-shell/ivi-layout.c +++ b/ivi-shell/ivi-layout.c @@ -891,6 +891,8 @@ commit_screen_list(struct ivi_layout *layout) &ivi_view->view->layer_link); ivi_view->view->output = iviscrn->output; + ivi_view->ivisurf->surface->is_mapped = true; + ivi_view->view->is_mapped = true; } } } -- cgit v1.2.3