Repository navigation
idle: wake monitors after automatic lock - #3633
Merged
Merged
Conversation
Locking rearms the normal idle monitors and can lose their wake transition. Enable the existing locked-monitor wake listener for idle power-off too.
skamprogiannis
force-pushed
the
fix/idle-lock-wake
branch
from
September 30, 2026 09:39
0b57b67 to
73a718f
Compare
skamprogiannis
marked this pull request as ready for review
September 30, 2026 09:50
Member
|
/claude review |
Contributor
Claude reviewLooks good; widening |
bbedward
pushed a commit
that referenced
this pull request
Oct 7, 2026
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 22fa08f)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Displays powered off by the idle timeout can fail to wake after automatic locking. Locking rearms
monitorOffMonitor, clearing its idle state while the displays remain off. Input before it becomes idle again produces no transition to request monitor-on.Enable the existing
lockWakeMonitorwhenever DMS is enabled, the session is locked, and monitors are off. Its current condition excludes ordinary idle power-off. No new listener or timer behavior is added. Extends #2572.This changes shared DMS idle handling; the failure was reproduced on Hyprland. Other compositors have not been tested.
Reproduction
Environment: NixOS, Hyprland 0.56.0, NVIDIA GeForce RTX 3080 (driver 595.99.02), two monitors.
This failed twice: pointer movement reached the compositor, but DMS issued no monitor-on request. An independent 90-second recovery timer restored both displays through the compositor. No suspend occurred.
Testing
The equivalent patch has run on my DMS package based on
c1f1da1for several days without another occurrence or forced restart.Checklist
AI assistance: Codex helped with diagnosis, the patch, and this description. The desktop observations are my own.