This commit is contained in:
Lemmy
2026-02-28 11:10:34 -05:00
parent 7e3b1d25d9
commit 052ffcc5a2
+9 -9
View File
@@ -508,18 +508,18 @@ Singleton {
});
}
function lock() {
if (!PanelService.lockScreen.active) {
CompositorService.lock();
}
function lock() {
if (!PanelService.lockScreen.active) {
CompositorService.lock();
}
}
function lockAndSuspend() {
// Only lock and suspend if not already locked
if (!PanelService.lockScreen.active) {
CompositorService.lockAndSuspend();
}
function lockAndSuspend() {
// Only lock and suspend if not already locked
if (!PanelService.lockScreen.active) {
CompositorService.lockAndSuspend();
}
}
}
IpcHandler {