Keep window moves and F1 menu motion out of captured mouse input #591
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!591
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-591"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ghptc on GitHub · 2026-11-28 01:27 UTC · original
ghptc:fix/mouse-input-capture→main· +317 −40 · 6 files · 1 commits · openCapture can reclaim the pointer during a Win32 window move or after the title loses keyboard focus. Motion made inside F1 can also leak into the first guest reading after the menu closes. On
a4d05e7, moving 20 pixels inside F1 changed that reading from 13 to 33.Release confinement for the native move/resize loop, and reacquire it when the foreground title regains focus. Only accumulate motion sampled within one uninterrupted gameplay interval. The F1 label describes cursor confinement. The README documents the existing keyboard mapping.
Verification
Refs #489. The gameplay camera mapping requested there is tracked in #142, #482 and #581. This change addresses capture transitions. It extends the merged F1 suppression in #32. The author of the closed #551 separately reported native Windows drag interference.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.