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!
This commit is contained in:
Pier Luigi Fiorini 2014-10-24 00:43:39 +02:00
parent 17c9e1e63a
commit f8ae17356a

View file

@ -38,10 +38,13 @@ function surfaceMapped(surface) {
// Call a specialized method to deal with application or // Call a specialized method to deal with application or
// shell windows // shell windows
if (typeof(firstView.role) == "undefined") var isShellWindow =
mapApplicationSurface(surface); (typeof(firstView.role) != "undefined") ||
else (surface.className == "plasmashell.desktop");
if (isShellWindow)
mapShellSurface(surface, firstView); mapShellSurface(surface, firstView);
else
mapApplicationSurface(surface);
} }
function surfaceUnmapped(surface) { function surfaceUnmapped(surface) {