Repository navigation
fix: primary display from Windows' own flag; embed only rtss-cli - #110
Merged
Merged
Conversation
- MonitorInfo.IsPrimary was "active and at (0,0)", ambiguous when screens are cloned (several share the origin). It now uses MONITORINFOF_PRIMARY through NativeDisplays.IsPrimary. - The csproj embedded artifacts/tools/*.exe, so a leftover MultiMonitorTool/SoundVolumeView from an older build ended up inside the exe (never extracted, just dead weight). It embeds rtss-cli*.exe only; CI is unaffected (it never had the others). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
- Primary monitor detection:
DisplayBackendnow gets primary status from Windows’MONITORINFOF_PRIMARYflag using the monitor’s GDI name. - Embedded tools:
ConsoleMode.csprojnow embeds onlyrtss-cli*.exefrom the tools directory.
GPT Luna | 𝕏
lippdev
added a commit
to nextestudios/consolemode
that referenced
this pull request
Sep 30, 2026
The fixes merged since 1.6.0-alpha.2 were missing from CHANGELOG.md and CHANGELOG.en-US.md: the failed audio output switch (lippdev#109) and the primary display from Windows' own flag (lippdev#110), plus the rtss-cli-only package. The Playnite item now points at the PR number (lippdev#83) instead of the issue. docs/TESTING.md gets the two manual checks those fixes need (cloned screens and a slow-starting Playnite). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.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.

Two small leftovers from the native-backend review (#91).
IsPrimary: was "active and at (0,0)", which is ambiguous with cloned screens (several share the origin) and could pick the wrongOriginalPrimaryfor the backup. It now usesMONITORINFOF_PRIMARY(NativeDisplays.IsPrimary). Checked on the real code: only the active display reports primary, the inactive ones don't.artifacts\tools\*.exeembedded any leftover MultiMonitorTool/SoundVolumeView from older local builds. It is nowrtss-cli*.exe. Verified: the built dll embeds onlyConsoleMode.Tools.rtss-cli.exe, even with the old exes still in the folder. The wildcard form keeps a missing file from failing the build (CI).No user-visible change on a normal extended setup, so no changelog entry. Build OK, 144 tests pass.
🤖 Generated with Claude Code