From 17c9e1e63a7cc7aa124ee49672b071255dd4f0ba Mon Sep 17 00:00:00 2001 From: Pier Luigi Fiorini Date: Fri, 24 Oct 2014 00:40:35 +0200 Subject: [PATCH] Switch back to home when an application window is unmapped --- compositor/contents/WindowManagement.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compositor/contents/WindowManagement.js b/compositor/contents/WindowManagement.js index c887cf58..edca8dd8 100644 --- a/compositor/contents/WindowManagement.js +++ b/compositor/contents/WindowManagement.js @@ -170,6 +170,8 @@ function mapShellSurface(surface, child) { */ function unmapApplicationSurface(surface) { + // Reactivate home layer as soon as an application window is unmapped + compositorRoot.showHome = true; } function unmapShellSurface(surface) {