summaryrefslogtreecommitdiffstats
path: root/src/desktop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/desktop.c')
-rw-r--r--src/desktop.c4
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
*/