Skip to content

マルチモニター環境での起動時初期化処理の修正 #1342 - #1343

Open
UnABC wants to merge 1 commit into
Siv3D:v6_developfrom
UnABC:fix/multi-monitor-init
Open

UnABC wants to merge 1 commit into
Siv3D:v6_developfrom
UnABC:fix/multi-monitor-init

Conversation

@UnABC

@UnABC UnABC commented Sep 19, 2026

Copy link
Copy Markdown

issue1342 に対する修正

  • EnumerateMonitors() のフォールバック処理から不要な break を削除し全モニターを取得するように変更
  • プライマリモニター未検出時のウィンドウ生成ガードを追加

Copilot AI lite review requested due to automatic review settings September 19, 2026 10:00

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The requested multi-monitor initialization fixes are fully addressed with no unresolved review comments.

Review effort: Lite
Findings: None

What changed in this PR

Fixes Windows startup handling in multi-monitor environments by enumerating all fallback monitors and selecting a valid target when no primary monitor is found.

Changes:

  • Removes the premature fallback enumeration break.
  • Adds safe monitor selection for window creation.
File Description
Siv3D/​src/​Siv3D-Platform/​WindowsDesktop/​Siv3D/​Window/​CWindow.cpp Adds fallback monitor selection during window initialization.
Siv3D/​src/​Siv3D-Platform/​WindowsDesktop/​Siv3D/​Monitor/​SivMonitor_Windows.cpp Enumerates all fallback monitors.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@Reputeless Reputeless moved this to Investigating in v0.6 Roadmap Sep 19, 2026
@Reputeless Reputeless moved this from Investigating to ToDo in v0.6 Roadmap Sep 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: ToDo

Development

Successfully merging this pull request may close these issues.

3 participants