From 123549f8f34b28fdecb02188b3aaf7f54ba7e516 Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Mon, 16 May 2022 02:14:44 +0200 Subject: [PATCH] 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. --- src/window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/window.cpp b/src/window.cpp index fdc7e79911..e06bbf3ae2 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -905,7 +905,7 @@ Layer Window::belongsToLayer() const if (isUnmanaged() || isInternal()) { return UnmanagedLayer; } - if (isLockScreen()) { + if (isLockScreen() && !waylandServer()) { return UnmanagedLayer; } if (isInputMethod()) {