SessionMenu: move lockAndSuspend to CompositorService

This commit is contained in:
Ly-sec
2025-09-29 14:20:15 +02:00
parent 250822e819
commit b8b54825d5
2 changed files with 13 additions and 4 deletions
+1 -4
View File
@@ -103,10 +103,7 @@ NPanel {
}
break
case "lockAndSuspend":
if (!lockScreen.active) {
lockScreen.active = true
}
CompositorService.suspend()
CompositorService.lockAndSuspend()
break
case "suspend":
CompositorService.suspend()