idle: wake monitors on input whenever dms powered them off

fixes #3742
This commit is contained in:
bbedward
2026-10-12 15:35:08 -04:00
parent 80711f1c21
commit 14de920cd2
+4 -4
View File
@@ -147,13 +147,13 @@ Singleton {
}
}
// 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.
// Rearming the timeout monitors while idle resets their isIdle without a wake
// transition, so this listener, never rearmed, catches input while outputs are off.
IdleMonitor {
id: lockWakeMonitor
id: wakeMonitor
timeout: 1
respectInhibitors: false
enabled: root.enabled && root.isShellLocked && root.monitorsOff
enabled: root.enabled && root.monitorsOff
onIsIdleChanged: {
if (!enabled)
return;