summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmre Ucan <eucan@de.adit-jv.com>2016-03-17 11:35:43 +0100
committerEugen Friedrich <efriedrich@de.adit-jv.com>2016-03-21 16:46:03 +0100
commit18c1a0df5820de55de7cad000e9e13dfdbc17733 (patch)
treef5b16ff0fb4567319b20c18f6403b4df8eb493d9
parentfd24878305bb56a934d304d9e250a46d2546337f (diff)
downloadwayland-ivi-extension-18c1a0df5820de55de7cad000e9e13dfdbc17733.tar.gz
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 <eucan@de.adit-jv.com>
-rw-r--r--weston-ivi-shell/src/ivi-controller-impl.c1
1 files changed, 0 insertions, 1 deletions
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);
}