On Thu, 23 Jun 2016 11:59:39 +0200 Armin Krezović <krezovic.ar...@gmail.com> wrote:
> This is a follow up for ivi-shell to manually > set mapped status for views/surfaces it controls > > Signed-off-by: Armin Krezović <krezovic.ar...@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..404f7ef 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->view->is_mapped = true; > + ipsurf->surface->is_mapped = true; Hi, swap the two added lines to minimize the diff to desktop-shell/input-panel.c. Thanks, pq > weston_surface_damage(ipsurf->surface); > > if (ipsurf->anim) > diff --git a/ivi-shell/ivi-layout.c b/ivi-shell/ivi-layout.c > index 9ce0ab0..c103029 100644 > --- a/ivi-shell/ivi-layout.c > +++ b/ivi-shell/ivi-layout.c > @@ -841,6 +841,8 @@ commit_screen_list(struct ivi_layout *layout) > &tmpview->layer_link); > > ivisurf->surface->output = iviscrn->output; > + ivisurf->surface->is_mapped = true; > + tmpview->is_mapped = true; > } > } > }
pgpCArySYVj2T.pgp
Description: OpenPGP digital signature
_______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel