X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Flayout.c;h=ea293cadeb9d829237b8bbed00b2a9fe4ce29de0;hb=e0a1dcc5480872fcb1ddafcd8664ef1b92f9446b;hp=b7ef7886dff5cf8537841ba1a32f9d8e2f547996;hpb=998097db427c6aeb61e62cd6cf7ad3821e7d0372;p=src%2Fagl-compositor.git diff --git a/src/layout.c b/src/layout.c index b7ef788..ea293ca 100644 --- a/src/layout.c +++ b/src/layout.c @@ -1116,7 +1116,8 @@ ivi_layout_deactivate(struct ivi_compositor *ivi, const char *app_id) weston_log("Deactiving %s, role %s\n", app_id, ivi_layout_get_surface_role_name(surf)); - if (surf->role == IVI_SURFACE_ROLE_DESKTOP) { + if (surf->role == IVI_SURFACE_ROLE_DESKTOP || + surf->role == IVI_SURFACE_ROLE_REMOTE) { struct ivi_surface *previous_active; previous_active = ivi_output->previous_active;