diff options
author | Marius Vlad <marius.vlad@collabora.com> | 2020-10-22 00:07:53 +0300 |
---|---|---|
committer | Marius Vlad <marius.vlad@collabora.com> | 2020-11-05 10:41:32 +0200 |
commit | 681f5df234921e989606eefc6e293f37883bb22e (patch) | |
tree | 0fb98bf910eed581d52fd3125dfad05155f86731 /src/desktop.c | |
parent | 27e99ddcad08fd3568133cf3b72a1ae8670a185f (diff) |
shell: Destroy weston_transmitter_surface as well
Instruct waltham-transmitter-plugin that it can destroy its own
surface representation when the weston_surface is also destroyed.
Bug-AGL: SPEC-3601, SPEC-3611
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ie0e5409b21c043b8c98bebb4d77808227ee38aca
Diffstat (limited to 'src/desktop.c')
-rw-r--r-- | src/desktop.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/desktop.c b/src/desktop.c index 4caba48..ad1ce44 100644 --- a/src/desktop.c +++ b/src/desktop.c @@ -192,6 +192,10 @@ desktop_surface_removed(struct weston_desktop_surface *dsurface, void *userdata) output->active = NULL; } + if (surface->role == IVI_SURFACE_ROLE_REMOTE && + output->type == OUTPUT_REMOTE) + ivi_destroy_waltham_destroy(surface); + /* check if there's a last 'remote' surface and insert a black * surface view if there's no background set for that output */ |