Skip to content

fix: keep mouse movement smooth across portal edges - #9

Open
ai-eks wants to merge 1 commit into
mainfrom
aix-mouse-input-recording
Open

ai-eks wants to merge 1 commit into
mainfrom
aix-mouse-input-recording

Conversation

@ai-eks

@ai-eks ai-eks commented Sep 12, 2026

Copy link
Copy Markdown
Owner

Summary

  • Remove the global mouse/cursor association toggle on every portal crossing.
  • Preserve the existing HID event forwarding and original motion deltas for the expected portal-edge feel.
  • Read motion deltas only when a portal crossing actually occurs and simplify the callback result to a target point.
  • Update the existing display-transition tests for the simplified callback result.

Scope

This PR contains only mouse movement handling and its affected tests. Window capture, tab-change restoration, and persisted window identity changes remain in #7.

Verification

@ai-eks

ai-eks commented Sep 12, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🎉

Reviewed commit: 6d550d871d

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

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.

1 participant