Repository navigation
test: route the system pointer through windows on Windows - #2332
Merged
Merged
Conversation
oneo-me
force-pushed
the
1380-live-pointer-checks
branch
from
November 24, 2026 15:17
0daf88b to
f6059b2
Compare
oneo-me
marked this pull request as ready for review
November 24, 2026 15:17
oneo-me
enabled auto-merge (rebase)
November 24, 2026 15:17
1 task
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
oneo-me
force-pushed
the
1380-live-pointer-checks
branch
from
November 24, 2026 18:13
f6059b2 to
1c20d51
Compare
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.
Refs #1380
This PR sits on top of #2328, which defines
mouseEvent. It contains only the last commit and will rebase onto main once #2328 merges.It adds
TestWindowPointerModesRouteTheSystemPointer, an opt-in check (NSGO_LIVE_POINTER=1) that needs an interactive desktop session. It lays a 600×400 window over another and drives the system pointer withSetCursorPosandmouse_event, so Windows itself routes every message:None: presses, wheel turns and hover reach the window below.Painted: the 200×200 island takes its own presses, wheel and hover,OnContextMenu, and aWindowDragof its strip. A control inside the strip keeps its own press. Presses and wheel around the island reach the window below.Auto: the window takes everything again, and the window is not replaced.It runs as two subtests, a plain window and a Mica window drawn through DirectComposition. On a Windows 11 desktop (build 26300) it passed 5 of 5 runs, 2 of them with the pixel check.
The roadmap and
application.mdrecord the result. macOS native routing and Ubuntu's X11 and Wayland sessions remain unchecked.🤖 Claude Opus 5.5
🤖 Generated with Claude Code