Skip to content

Display monitor selector#14509

Open
jasaaved wants to merge 5 commits intodolphin-emu:masterfrom
jasaaved:Display-Monitor-Selector
Open

Display monitor selector#14509
jasaaved wants to merge 5 commits intodolphin-emu:masterfrom
jasaaved:Display-Monitor-Selector

Conversation

@jasaaved
Copy link
Copy Markdown

@jasaaved jasaaved commented Mar 25, 2026

Summary:

  • Adds a "Display Monitor" dropdown to Graphics > General, allowing users to select which monitor to launch the game on
  • In fullscreen mode, the game launches fullscreen on the selected monitor
  • In windowed mode, the render window (or main window when rendering to main) is centered on the selected monitor
  • When rendering to the main window, the main window is moved to the selected monitor and restored to its original position when the game ends

Test plan:

  • Single monitor: verify default behavior is unchanged
  • Multi-monitor: verify fullscreen launches on the selected monitor
  • Multi-monitor: verify windowed separate window centers on the selected monitor
  • Multi-monitor, render to main window: verify the main window moves to the selected monitor when the game starts and restores to its original
    position when the game ends
  • Multi-monitor, render to main window: verify that if the main window is already on the selected monitor, it does not move
  • Multi-monitor, separate window: verify that exiting fullscreen restores the window to its pre-fullscreen position rather than re-centering it on the selected monitor
  • Verify "Default Monitor" (index 0) behaves identically to previous behavior

Under graphics settings, the user can now choose which screen the game will launch on
When using windowed mode, the game will launch on the monitor selected in the Display Monitor setting.

  If rendering to the main window and the selected monitor differs from the current one, the main window will be moved there and restored to its     original position when the game ends.
Changed the description that might sound confusing to the end user.
@jordan-woyak
Copy link
Copy Markdown
Member

When Render to Main is turned off the window position isn't restored upon return from fullscreen on a secondary monitor which is a bit odd/annoying.

I think "Primary Monitor" might not be the correct description. Maybe just call it "Default" ?

When using a separate window, the window position is now saved after exiting fullscreen. Subsequent exits from fullscreen will restore the window to this saved position.

Additional coding style issues have been fixed.

Changed "primary monitor" to "default monitor"
@jasaaved
Copy link
Copy Markdown
Author

The position will now restore when exiting from fullscreen so it won't recenter. I changed it to "Default Monitor" as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants