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.
This commit is contained in:
Aleix Pol 2022-05-16 02:14:44 +02:00 committed by Aleix Pol Gonzalez
parent a3dcecef7a
commit 123549f8f3

View file

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