diff options
| author | Tyrannys <80750971+Tyrannys@users.noreply.github.com> | 2026-11-27 12:13:35 -0600 |
|---|---|---|
| committer | Tyrannys <80750971+Tyrannys@users.noreply.github.com> | 2026-11-27 12:13:35 -0600 |
| commit | 28829e0aabeac81362d51fcbb51a72ea83bd4590 (patch) | |
| tree | 32b5e004f2becef00bca3e9f195e757245b2820c /docs/github-metadata-export.md | |
| parent | 43a9d562d355e7c5c428e486071b456353de8b05 (diff) | |
gameinput: let go of the cursor clip while the window is dragged
The keyboard pad clips the cursor to the foreground window's client
area and re-applies the clip every 100 ms. A press on the title bar was
pulled into the client area, and during the modal move loop each re-clip
pulled the cursor, and the window with it, down the screen instead of
letting it be dragged.
The clip is now released while the window's thread is in a move/size or
menu loop (GetGUIThreadInfo: GUI_INMOVESIZE, GUI_INMENUMODE,
GUI_SYSTEMMENUMODE), and while a mouse press that began outside the
client area is held, including one that activated the window. A press
in the client area keeps the clip, so a click still cannot land on
another window. The decision is CursorClipGate (shims/gameinput_clip.h),
covered by the new gameinput_clip test.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs/github-metadata-export.md')
0 files changed, 0 insertions, 0 deletions