fix lock screen re-capturing screenshot on wake from suspend
This commit is contained in:
parent
90c3bd3da2
commit
cd6f32dfcf
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ Scope {
|
||||||
target: S.LockService
|
target: S.LockService
|
||||||
|
|
||||||
function onLockRequested() {
|
function onLockRequested() {
|
||||||
if (!S.LockService.enabled)
|
if (!S.LockService.enabled || _lock.locked)
|
||||||
return;
|
return;
|
||||||
S.ScreenshotService.capture(Quickshell.screens.length);
|
S.ScreenshotService.capture(Quickshell.screens.length);
|
||||||
_lockTimeout.start();
|
_lockTimeout.start();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue