ivi-shell: bugfix, send notification when properties are changed according to event mask.

Previous code sends notification without event mask. So the notification

Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
dev
Nobuhiko Tanibata 10 years ago committed by Pekka Paalanen
parent 4d0116eb0d
commit 6ce3ef864d
  1. 2
      ivi-shell/ivi-layout.c

@ -1079,10 +1079,12 @@ send_prop(struct ivi_layout *layout)
struct ivi_layout_surface *ivisurf = NULL; struct ivi_layout_surface *ivisurf = NULL;
wl_list_for_each_reverse(ivilayer, &layout->layer_list, link) { wl_list_for_each_reverse(ivilayer, &layout->layer_list, link) {
if (ivilayer->event_mask)
send_layer_prop(ivilayer); send_layer_prop(ivilayer);
} }
wl_list_for_each_reverse(ivisurf, &layout->surface_list, link) { wl_list_for_each_reverse(ivisurf, &layout->surface_list, link) {
if (ivisurf->event_mask)
send_surface_prop(ivisurf); send_surface_prop(ivisurf);
} }
} }

Loading…
Cancel
Save