diff --git a/shell/lock/Lock.qml b/shell/lock/Lock.qml index 554b419..ff76589 100644 --- a/shell/lock/Lock.qml +++ b/shell/lock/Lock.qml @@ -31,7 +31,7 @@ Scope { target: S.LockService function onLockRequested() { - if (!S.LockService.enabled || _lock.locked) + if (!S.LockService.enabled) return; S.ScreenshotService.capture(Quickshell.screens.length); _lockTimeout.start(); diff --git a/shell/lock/LockSurface.qml b/shell/lock/LockSurface.qml index 66efacd..f98d502 100644 --- a/shell/lock/LockSurface.qml +++ b/shell/lock/LockSurface.qml @@ -15,14 +15,6 @@ WlSessionLockSurface { property real _unlockFade: 1 - // Solid background - WlSessionLockSurface.color can be unreliable with - // Wayland compositors, so paint an explicit opaque rect to prevent the - // compositor fallback color (niri red) from bleeding through. - Rectangle { - anchors.fill: parent - color: S.Theme.base00 - } - // Clear desktop screenshot from ScreenshotService - visible immediately Image { anchors.fill: parent