[PATCH] ivi-controller: don't send wrong layer resource to client

Ucan, Emre (ADITG/SW1) eucan at de.adit-jv.com
Thu Jan 21 05:37:01 EST 2016


Hi,

We found a bug in ivi-controller plugin:

It is wrong to send surface_send_layer event with resources
of every client. Instead, the event should only sent once with
the layer resource of client, which owns also the surface resource.
Otherwise a wayland communication error happens, because a client gets
a surface_send_layer event with a resource which is owned by
another client.

Signed-off-by: Emre Ucan <eucan at de.adit-jv.com>
---
 weston-ivi-shell/src/ivi-controller-impl.c |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Best regards

Emre Ucan

Advanced Driver Information Technology GmbH
Software Group I (ADITG/SW1)
Robert-Bosch-Str. 200
31139 Hildesheim
Germany

Tel. +49 5121 49 6937
Fax +49 5121 49 6999
eucan at de.adit-jv.com

ADIT is a joint venture company of Robert Bosch GmbH/Robert Bosch Car Multimedia GmbH and DENSO Corporation
Sitz: Hildesheim, Registergericht: Amtsgericht Hildesheim HRB 3438
Geschaeftsfuehrung: Wilhelm Grabow, Ken Yaguchi

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ivi-controller-don-t-send-wrong-layer-resource-to-cl.patch
Type: application/octet-stream
Size: 1851 bytes
Desc: 0001-ivi-controller-don-t-send-wrong-layer-resource-to-cl.patch
URL: <http://lists.genivi.org/pipermail/genivi-ivi-layer-management_lists.genivi.org/attachments/20160121/67156fa0/attachment.patch>


More information about the genivi-ivi-layer-management mailing list