Repository navigation
Keep nonsecure screen savers from interrupting foreground Windows play - #831
Closed
monsterlag wants to merge 3 commits into
Closed
monsterlag wants to merge 3 commits into
monsterlag wants to merge 3 commits into
Conversation
# Conflicts: # tests/run_all.py
This was referenced Nov 8, 2026
Merge b2765ba without rewriting published history. Retain the narrow foreground/nonminimized policy, upstream window notifications/API6/CI, and all18 authored mock cases; add only the unrelated-action mock required by the current WndProc. Assisted-by: Codex Co-Authored-By: Codex <noreply@openai.com>
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.
Keep a nonsecure Windows screen saver from interrupting controller-only play while the renderer is active and the game is foreground and non-minimized. Secure/unknown policy, failed policy queries, background/minimized windows and other system commands retain normal Windows handling. No screen-saver, password, power or sleep configuration is changed.
Updated on main
b2765ba6through a normal merge, preserving its API6 window/key notification and current CI. The seven-line product hunk and all18 authored cases/assertions are preserved; the fixture adds only the mock required by the new upstream key notification.Validation at
54ee3ac6: all18 complete-WndProc API-mock cases pass with Windows GNU Clang and WSL GCC. Hosted Windows source checks, Linux source checks, SPIR-V checks, Windows renderer/builder and Linux AppImage pass. The identical complete host/display.c also compiled in the separate private API6 player build.Real screen-saver/security/power behavior remains untested; ordinary gameplay does not establish that contract. Refs #809, scoped to Windows.
API contracts: WM_SYSCOMMAND and SPI_GETSCREENSAVESECURE.