Move the lockscreen's layer on wayland

On wayland, we are already restricting the rendering of windows that
aren't supposed to be shown when locked, so we don't need to keep the
lock screen on the unmanaged layer.
master
Aleix Pol 2 years ago committed by Aleix Pol Gonzalez
parent a3dcecef7a
commit 123549f8f3

@ -905,7 +905,7 @@ Layer Window::belongsToLayer() const
if (isUnmanaged() || isInternal()) { if (isUnmanaged() || isInternal()) {
return UnmanagedLayer; return UnmanagedLayer;
} }
if (isLockScreen()) { if (isLockScreen() && !waylandServer()) {
return UnmanagedLayer; return UnmanagedLayer;
} }
if (isInputMethod()) { if (isInputMethod()) {

Loading…
Cancel
Save