Repository navigation
v1.6.2
Bug fix: virtual displays come up in their configured mode
A virtual display could come up in a mode macOS remembered for its identity instead of the one you configured (for example a 3440x1440 display appearing as 1720x720), because CGVirtualDisplay accepts the settings but the window server keeps the remembered mode, and it never switches the mode of the main display without a real configuration commit. SimpleDisplay now checks every virtual display after launch, creation and reconfiguration and re-applies the configured resolution and HiDPI setting through CGConfigureDisplayWithDisplayMode. The commit is permanent, so macOS remembers the right mode from then on.
Verified on the macOS 26 VM: a new HiDPI display created on a slot whose identity remembered 1280x720 comes up at 1600x900 HiDPI.
Signed with a Developer ID and notarized, like v1.6.1.
Full Changelog: v1.6.1...v1.6.2