shell: Keep a reference to weston_transmitter_surface 79/25479/1
authorMarius Vlad <marius.vlad@collabora.com>
Wed, 21 Oct 2020 20:31:16 +0000 (23:31 +0300)
committerMarius Vlad <marius.vlad@collabora.com>
Thu, 22 Oct 2020 16:36:21 +0000 (19:36 +0300)
commitd4f4a4e13c6ad0222df2df5b45de6dc60a64a26b
tree76ba339221baf2a30b25e72bbb5e72cc13eb2481
parentb96d1a7073e40a083df93c283cc7940647df19ba
shell: Keep a reference to weston_transmitter_surface

When 'pushing' the surface store a reference of the
weston_transmitter_surface so we can later inform the plug-in when the
weston_surface is destroyed, so that it can also destroy the
transmittter_surface from its side.

Bug-AGL: SPEC-3601, SPEC-3611

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I7fd1df2130e53e8c226c7a751c598765608ae6b3
src/ivi-compositor.h
src/shell.c