[PATCH weston v2 4/6] ivi-shell: update for manual surface/view mapping
Armin Krezović
krezovic.armin at gmail.com
Thu Jun 30 04:04:31 UTC 2016
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 at gmail.com>
---
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 581b56b..954d4ef 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 6d7e0ee..dec4936 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;
}
}
}
--
2.9.0
More information about the wayland-devel
mailing list