Repository navigation
Conversation
mrdpd-serve captured whichever display SCK listed first, so on a multi-display Mac the iPad could miss the display you work on. - DisplayCatalog letters displays A, B, C... left to right (then top to bottom) and marks the main one; DisplayChoice is .main or .letter. - SCKFrameSource captures the chosen display (default main) and throws unknownDisplay with the letters that exist. - ServeArgs takes --display A|B|C|main; just serve display=C. - mrdpd-serve lists every display with its name at startup and warns when the served one has no menu bar (separate Spaces off). - serve_inject.rs: a FastPath move to the session center lands on the served display's center (just test-inject-display). No new C ABI. just test green; just test-local and the live check pass on a 3-display Mac. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
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.
Stacked on #5 (adds the
T1-MON-02spec row this PR cites).Summary
mrdpd-servecaptured whichever display ScreenCaptureKit listed first, so on a multi-display Mac the iPad could miss the display you work on.DisplayCatalog(FrameKit, pure) letters Mac displays A, B, C… left to right, then top to bottom, and marks the main one.SCKFrameSourcecaptures the chosen display, defaulting to the main display. An unknown letter throwsunknownDisplaywith the letters that exist.mrdpd-serve --display A|B|C|main(just serve display=C). At startup it lists every display with its name, size and origin, and warns when the served one has no menu bar ("Displays have separate Spaces" off).t1_mon_02_fastpath_mouse_lands_on_served_display(just test-inject-display): a FastPath move to the session center lands on the served display's center, and the cursor is restored afterward.No new C ABI. One display per session, as before.
Test plan
just testrecipes: abi-tests, mrdpd-engine tests,swift test(82 tests, 9 TCC skips)just test-local: 4/4SCKFrameSourceTests(default main, chosen letter, unknown letter, contract) plusCGEventInputSink--display Aand the default (main) both land at the served display's center;--display Dexits with "this Mac has A, B, C"just serve host=<tailscale-ip> display=<letter>)Made with Cursor