Skip to content

Windows: Fix drag mouse position for parented windows (bugfix)#253

Draft
AlexCharlton wants to merge 1 commit into
RustAudio:masterfrom
AlexCharlton:win-fix-drag-mouse-position
Draft

Windows: Fix drag mouse position for parented windows (bugfix)#253
AlexCharlton wants to merge 1 commit into
RustAudio:masterfrom
AlexCharlton:win-fix-drag-mouse-position

Conversation

@AlexCharlton
Copy link
Copy Markdown
Contributor

@AlexCharlton AlexCharlton commented May 23, 2026

The drag position was being reported corrected on unparented windows, but it could be completely off for parented windows, depending on the parent. Rather than relying on the cursor position as reported by OLE, this calls GetCursorPos instead.

@prokopyl prokopyl added this to the v0.1.2 - Safer internals milestone May 25, 2026
@AlexCharlton AlexCharlton marked this pull request as draft May 25, 2026 20:48
@AlexCharlton
Copy link
Copy Markdown
Contributor Author

Waiting for #249, which will conflict

@prokopyl prokopyl force-pushed the win-fix-drag-mouse-position branch from b2742ce to 88354f7 Compare May 25, 2026 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants