From 18c1a0df5820de55de7cad000e9e13dfdbc17733 Mon Sep 17 00:00:00 2001 From: Emre Ucan Date: Thu, 17 Mar 2016 11:35:43 +0100 Subject: ivi-controller: don't send content removed event It is unnecessary to send content removed event to the controller. It is enough to send destroyed event. Signed-off-by: Emre Ucan --- weston-ivi-shell/src/ivi-controller-impl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/weston-ivi-shell/src/ivi-controller-impl.c b/weston-ivi-shell/src/ivi-controller-impl.c index abf1c85..5fa78aa 100644 --- a/weston-ivi-shell/src/ivi-controller-impl.c +++ b/weston-ivi-shell/src/ivi-controller-impl.c @@ -1331,7 +1331,6 @@ surface_event_remove(struct ivi_layout_surface *layout_surface, } wl_resource_for_each(resource, &ivisurf->resource_list) { - ivi_controller_surface_send_content(resource, IVI_CONTROLLER_SURFACE_CONTENT_STATE_CONTENT_REMOVED); ivi_controller_surface_send_destroyed(resource); } -- cgit v1.2.1