mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-29 22:47:47 -04:00
1 parent
15dc91f779
commit
3936a516f8
1 file changed
+2
-2
@@ -65,7 +65,7 @@ Scope {
|
||||
lockInitiatedLocally = true;
|
||||
lockPowerOffArmed = SettingsData.lockScreenPowerOffMonitorsOnLock;
|
||||
|
||||
if (!SessionService.active && SessionService.loginctlAvailable) {
|
||||
if (!SessionService.active && SessionService.loginctlAvailable && SettingsData.loginctlLockIntegration) {
|
||||
pendingLock = true;
|
||||
notifyLoginctl(true);
|
||||
return;
|
||||
@@ -99,7 +99,7 @@ Scope {
|
||||
function onSessionLocked() {
|
||||
if (shouldLock || pendingLock)
|
||||
return;
|
||||
if (!SessionService.active && SessionService.loginctlAvailable) {
|
||||
if (!SessionService.active && SessionService.loginctlAvailable && SettingsData.loginctlLockIntegration) {
|
||||
pendingLock = true;
|
||||
lockInitiatedLocally = false;
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user