Skip to content

test: route the system pointer through windows on Windows - #2332

Merged
oneo-me merged 2 commits into
mainfrom
1380-live-pointer-checks
Nov 24, 2026
Merged

oneo-me merged 2 commits into
mainfrom
1380-live-pointer-checks

Conversation

@oneo-me

@oneo-me oneo-me commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

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 with SetCursorPos and mouse_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 a WindowDrag of 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.
  • In every mode, the composed screen still shows the island while the window is layered.

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.md record the result. macOS native routing and Ubuntu's X11 and Wayland sessions remain unchecked.

🤖 Claude Opus 5.5

🤖 Generated with Claude Code

@oneo-me oneo-me self-assigned this Nov 24, 2026
@oneo-me
oneo-me force-pushed the 1380-live-pointer-checks branch from 0daf88b to f6059b2 Compare November 24, 2026 15:17
@oneo-me
oneo-me marked this pull request as ready for review November 24, 2026 15:17
@oneo-me
oneo-me enabled auto-merge (rebase) November 24, 2026 15:17
@github-actions github-actions Bot added size/L documentation Improvements or additions to documentation Windows Linux and removed size/XS labels Nov 24, 2026
oneo-me and others added 2 commits November 25, 2026 02:12
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@oneo-me
oneo-me force-pushed the 1380-live-pointer-checks branch from f6059b2 to 1c20d51 Compare November 24, 2026 18:13
@oneo-me
oneo-me merged commit 7956db2 into main Nov 24, 2026
25 checks passed
@oneo-me
oneo-me deleted the 1380-live-pointer-checks branch November 24, 2026 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation Linux size/L Windows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant