Compare commits
2 changed files with 1 additions and 9 deletions
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Reference in a new issue