[PATCH] ivi-shell: bugfix, ivi_surface is not removed from list of a layer when the ivi_surface is removed from the compositor.

Nobuhiko Tanibata nobuhiko_tanibata at xddp.denso.co.jp
Tue Aug 4 23:58:52 PDT 2015


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 <nobuhiko_tanibata at xddp.denso.co.jp>
---
 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;
 }
 
 static int32_t
-- 
1.8.3.1



More information about the wayland-devel mailing list