Skip to content

feat(sender): remember the virtual display resolution per receiver#122

Open
tiehfood wants to merge 1 commit into
swellweb:3.2-devfrom
tiehfood:feat/persist-display-mode
Open

feat(sender): remember the virtual display resolution per receiver#122
tiehfood wants to merge 1 commit into
swellweb:3.2-devfrom
tiehfood:feat/persist-display-mode

Conversation

@tiehfood

Copy link
Copy Markdown

macOS doesn't reliably persist resolution for these hot-plugged virtual displays, and the session re-imposed the receiver-advertised default (e.g. HiDPI 2560×1440) on every connect.

Capture the user's chosen mode via a display-reconfiguration callback (keyed by virtual-display identity) and re-apply it on reconnect, matching pixel size so HiDPI vs Standard is preserved.

Test: set a non-default resolution while connected, reconnect → the choice sticks (one-time re-set per receiver, since nothing is stored on first connect).

macOS does not reliably persist resolution for these hot-plugged virtual
displays, and the session re-imposed the receiver-advertised default each
connect. Capture the user's chosen mode via a display-reconfiguration callback
(keyed by virtual-display identity) and re-apply it on reconnect, matching
pixel size so HiDPI vs Standard is preserved.
@swellweb swellweb changed the base branch from main to 3.2-dev June 19, 2026 10:31
@swellweb

Copy link
Copy Markdown
Owner

Thanks for the contribution — really appreciated. I retargeted this to 3.2-dev so new feature work can land there while 3.1-maint stays focused on bug-fix releases.

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.

3 participants