mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-17 00:34:01 -04:00
idle: wake monitors after automatic lock (#3633)
Locking rearms the normal idle monitors and can lose their wake transition. Enable the existing locked-monitor wake listener for idle power-off too.
This commit is contained in:
@@ -149,14 +149,13 @@ Singleton {
|
||||
}
|
||||
}
|
||||
|
||||
// Wakes monitors powered off by the "power off monitors on lock" path.
|
||||
// Lock.qml's own wake handlers sit outside the session-lock surface and
|
||||
// never receive input, so wake on input via seat-level idle-notify instead.
|
||||
IdleMonitor {
|
||||
id: lockWakeMonitor
|
||||
timeout: 1
|
||||
respectInhibitors: false
|
||||
enabled: root.enabled && root.isShellLocked && root.monitorsOff && (SettingsData.lockScreenPowerOffMonitorsOnLock || root.lockPowerOffRequested)
|
||||
enabled: root.enabled && root.isShellLocked && root.monitorsOff
|
||||
onIsIdleChanged: {
|
||||
if (!enabled)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user