mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +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
|
||||
// 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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue