ivi-shell: update for manual surface/view mapping

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ć <krezovic.armin@gmail.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
This commit is contained in:
Armin Krezović 2016-06-30 06:04:31 +02:00 committed by Pekka Paalanen
parent b1a48e665b
commit 50ff4bf308
2 changed files with 4 additions and 0 deletions

View File

@ -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)

View File

@ -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;
}
}
}