From f8ae17356a781010655fe2239961f51a7a9d3112 Mon Sep 17 00:00:00 2001 From: Pier Luigi Fiorini Date: Fri, 24 Oct 2014 00:43:39 +0200 Subject: [PATCH] Show all windows from plasmashell on the desktop layer This will show the sliding window on the appropriate layer although it will still be a normal window. It should really be a shell window! --- compositor/contents/WindowManagement.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/compositor/contents/WindowManagement.js b/compositor/contents/WindowManagement.js index edca8dd8..93896d51 100644 --- a/compositor/contents/WindowManagement.js +++ b/compositor/contents/WindowManagement.js @@ -38,10 +38,13 @@ function surfaceMapped(surface) { // Call a specialized method to deal with application or // shell windows - if (typeof(firstView.role) == "undefined") - mapApplicationSurface(surface); - else + var isShellWindow = + (typeof(firstView.role) != "undefined") || + (surface.className == "plasmashell.desktop"); + if (isShellWindow) mapShellSurface(surface, firstView); + else + mapApplicationSurface(surface); } function surfaceUnmapped(surface) {