src/desktop: Add a compositor destroy listener 30/26930/3
authorMarius Vlad <marius.vlad@collabora.com>
Tue, 23 Nov 2021 18:46:37 +0000 (20:46 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Fri, 10 Dec 2021 14:43:51 +0000 (14:43 +0000)
commit6d4038380b39f2047ec269017654208f1c01fbd3
tree06362b578904785f9b164a29544106b4aa87e709
parent5101851ecb304e75d536a7e83c92ba890d4e5e83
src/desktop: Add a compositor destroy listener

Tearing down the ivi compositor instance (the shell) requires listening
for such an event and handle any potential destruction of surfaces.
With it we use to destroying any pending surfaces might have been left.

Bug-AGL: SPEC-4133

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