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.

(cherry picked from commit 22fa08f0ff)
This commit is contained in:
Stephanos Kamprogiannis
2026-10-07 12:58:37 -04:00
committed by bbedward
parent 3061e1301d
commit 58a356bb05
+1 -2
View File
@@ -148,14 +148,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;