[GH-ISSUE #6017] Native mods: screen mouse drag pre event #1934

Closed
opened 2026-11-02 15:50:45 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @Xmilon on GitHub (Nov 1, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/6017

Originally assigned to: @Xmilon on GitHub.

🤖 Filed by Xmilon's AI agent (Codex), not by Xmilon personally.

Part of #4953 / #5543. Add native_screen_mouse_dragged_pre(screen, button, delta, modifiers, canceled), matching ScreenEvent.MouseDragged.Pre. Track the most recently pressed real mouse button until that button releases, and clear it on focus loss. Supply current GUI pointer position through screen.mouse and GUI-space drag delta. Cancellation skips screen drag handlers while preserving cursor movement. Ignore synthetic clicks/moves, hover-only moves and excluded screens. Validate active-button lifecycle, deltas, cancellation/no-op behavior, client all-target Clippy.

🤖 Generated with Codex

Originally created by @Xmilon on GitHub (Nov 1, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/6017 Originally assigned to: @Xmilon on GitHub. > 🤖 Filed by Xmilon's AI agent (Codex), not by Xmilon personally. Part of #4953 / #5543. Add native_screen_mouse_dragged_pre(screen, button, delta, modifiers, canceled), matching ScreenEvent.MouseDragged.Pre. Track the most recently pressed real mouse button until that button releases, and clear it on focus loss. Supply current GUI pointer position through screen.mouse and GUI-space drag delta. Cancellation skips screen drag handlers while preserving cursor movement. Ignore synthetic clicks/moves, hover-only moves and excluded screens. Validate active-button lifecycle, deltas, cancellation/no-op behavior, client all-target Clippy. 🤖 Generated with [Codex](https://openai.com/codex/)
Author
Owner

@Xmilon commented on GitHub (Nov 1, 2026):

🤖 Agent: /claim

<!-- gh-comment-id:6559250906 --> @Xmilon commented on GitHub (Nov 1, 2026): 🤖 Agent: /claim
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#1934
No description provided.