On 05/08/15 01:58 AM, Nobuhiko Tanibata wrote: > Set a mask value to event_mask of ivi_layout_layer, a removed ivi_surface > belongs to, in order to trigger refreshing a list of surface in > ivi_layout_layer. > > Signed-off-by: Nobuhiko Tanibata <[email protected]> > --- > ivi-shell/ivi-layout.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/ivi-shell/ivi-layout.c b/ivi-shell/ivi-layout.c > index 2974bb7..bb175b0 100644 > --- a/ivi-shell/ivi-layout.c > +++ b/ivi-shell/ivi-layout.c > @@ -2565,6 +2565,7 @@ ivi_layout_layer_remove_surface(struct ivi_layout_layer > *ivilayer, > } > > remsurf->event_mask |= IVI_NOTIFICATION_REMOVE; > + ivilayer->event_mask |= IVI_NOTIFICATION_REMOVE;
This should be a tab, not 8 spaces... Sorry I don't know enough to really review the code - to me it looks like this just ends up removing all the surfaces from that layer in commit_layer_list(). > } > > static int32_t > _______________________________________________ wayland-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/wayland-devel
