mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-07-28 15:24:45 +00:00
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:
parent
17c9e1e63a
commit
f8ae17356a
1 changed files with 6 additions and 3 deletions
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue