[PATCH 11/13] ivi-shell: bugfix, send notification when properties are changed according to event mask.
Nobuhiko Tanibata
nobuhiko_tanibata at xddp.denso.co.jp
Sun Jun 21 23:32:06 PDT 2015
From: Nobuhiko Tanibata <NOBUHIKO_TANIBATA at xddp.denso.co.jp>
Previous code sends notification without event mask. So the notification
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA at xddp.denso.co.jp>
Reviewed-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
---
ivi-shell/ivi-layout.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/ivi-shell/ivi-layout.c b/ivi-shell/ivi-layout.c
index a7f9e02..c39e751 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);
}
}
--
1.8.3.1
More information about the wayland-devel
mailing list