diff options
author | Marius Vlad <marius.vlad@collabora.com> | 2021-11-23 20:46:37 +0200 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2021-12-10 14:43:51 +0000 |
commit | 6d4038380b39f2047ec269017654208f1c01fbd3 (patch) | |
tree | 06362b578904785f9b164a29544106b4aa87e709 /src/shell.c | |
parent | 5101851ecb304e75d536a7e83c92ba890d4e5e83 (diff) |
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
Diffstat (limited to 'src/shell.c')
-rw-r--r-- | src/shell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shell.c b/src/shell.c index 3f528de..6fcdfe8 100644 --- a/src/shell.c +++ b/src/shell.c @@ -1068,7 +1068,7 @@ shell_desktop_set_app_property(struct wl_client *client, } } -static void +void ivi_compositor_destroy_pending_surfaces(struct ivi_compositor *ivi) { struct pending_popup *p_popup, *next_p_popup; |