diff options
author | Nobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp> | 2015-06-22 15:32:06 +0900 |
---|---|---|
committer | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | 2015-06-23 15:57:15 +0300 |
commit | 6ce3ef864d46a951d7baf01b87b4cf4fa99b937b (patch) | |
tree | 423339874411a95367b32aa6d05b5cbf661b67e8 /ivi-shell/ivi-layout.c | |
parent | 4d0116eb0d754adcf34da876465e67a88ed769e6 (diff) | |
download | weston-6ce3ef864d46a951d7baf01b87b4cf4fa99b937b.tar.gz |
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>
Diffstat (limited to 'ivi-shell/ivi-layout.c')
-rw-r--r-- | ivi-shell/ivi-layout.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ivi-shell/ivi-layout.c b/ivi-shell/ivi-layout.c index a7f9e02c..c39e751b 100644 --- a/ivi-shell/ivi-layout.c +++ b/ivi-shell/ivi-layout.c @@ -1079,11 +1079,13 @@ send_prop(struct ivi_layout *layout) struct ivi_layout_surface *ivisurf = NULL; wl_list_for_each_reverse(ivilayer, &layout->layer_list, link) { - send_layer_prop(ivilayer); + if (ivilayer->event_mask) + send_layer_prop(ivilayer); } wl_list_for_each_reverse(ivisurf, &layout->surface_list, link) { - send_surface_prop(ivisurf); + if (ivisurf->event_mask) + send_surface_prop(ivisurf); } } |