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:
Stephanos Kamprogiannis
2026-10-01 08:51:32 -04:00
committed by GitHub
parent 738e19715e
commit 22fa08f0ff
+1 -2
View File
@@ -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;