Commit 123549f8 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧 Committed by Aleix Pol Gonzalez
Browse files

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.
parent a3dcecef
......@@ -905,7 +905,7 @@ Layer Window::belongsToLayer() const
if (isUnmanaged() || isInternal()) {
return UnmanagedLayer;
}
if (isLockScreen()) {
if (isLockScreen() && !waylandServer()) {
return UnmanagedLayer;
}
if (isInputMethod()) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment