feat(cua-driver): add multi-display cursor support for macos - #3019
Open
injaneity wants to merge 10 commits into
Open
feat(cua-driver): add multi-display cursor support for macos#3019injaneity wants to merge 10 commits into
injaneity wants to merge 10 commits into
Conversation
injaneity
force-pushed
the
codex/fix-2992-negative-cursor
branch
from
August 10, 2026 04:51
aec6046 to
1d47998
Compare
injaneity
marked this pull request as ready for review
August 10, 2026 05:32
This was referenced Aug 13, 2026
injaneity
force-pushed
the
codex/fix-2992-negative-cursor
branch
from
August 20, 2026 01:29
1d47998 to
2b668df
Compare
injaneity
marked this pull request as draft
August 20, 2026 01:53
injaneity
marked this pull request as ready for review
August 20, 2026 04:20
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
summary
implementation
macos keeps one shared cursor state and render worker, while appkit owns one transparent surface per display. cursor artwork is rendered into every display it intersects, so seam crossings do not clip the pointer. only displays with current or previous pixels are rendered, which also clears the old display after movement.
placement is explicit instead of encoded as a coordinate. theme-derived paint bounds select intersecting displays without rendering every display for custom themes. the session badge remains on the cursor's anchor display, and target-relative z-order applies to every surface carrying cursor pixels.
validation
cargo test -p cursor-overlay --locked— 43 passedcargo test -p platform-macos --lib --locked— 350 passed, 1 environment-mutating test ignoredcargo test -p platform-linux --lib --locked— 16 host-available tests passedcargo test -p platform-windows --lib --locked— 42 host-available tests passedgap before readiness
the candidate still needs live macos validation with left, upper, mixed-scale, cross-display, and hotplug layouts. the pr remains draft until that evidence exists.
refs #2992