diff options
author | Armin Krezović <krezovic.armin@gmail.com> | 2016-06-30 06:04:31 +0200 |
---|---|---|
committer | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | 2016-07-01 15:29:26 +0300 |
commit | 50ff4bf3087185bc6480e23fdade935e13abe13e (patch) | |
tree | 5725eea4690b5cc50ed39d17b23ffc738da30808 /ivi-shell | |
parent | b1a48e665bc7c5b47e9194c7b391c2ccdb1f57a6 (diff) | |
download | weston-50ff4bf3087185bc6480e23fdade935e13abe13e.tar.gz weston-50ff4bf3087185bc6480e23fdade935e13abe13e.tar.bz2 weston-50ff4bf3087185bc6480e23fdade935e13abe13e.zip |
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>
Diffstat (limited to 'ivi-shell')
-rw-r--r-- | ivi-shell/input-panel-ivi.c | 2 | ||||
-rw-r--r-- | ivi-shell/ivi-layout.c | 2 |
2 files changed, 4 insertions, 0 deletions
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; } } } |