Open the game window on a chosen monitor: the monitor setting and --monitor pick it by index, primary, or part of its device or monitor name, and --list-monitors prints the monitors.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Thiago Cabral
2026-11-08 07:23:42 -03:00
committed by chrg6
parent bb0ac8caeb
commit d0c8588e3f
8 changed files with 313 additions and 28 deletions

View File

@@ -350,6 +350,7 @@ void rt_boot(void); // boot.c
int list_audio_devices(void); // audio_mixer.c: --list-audio-devices (SDL3 on every window back end)
int probe_cfg(void); // cfg_probe.c
int probe_dpi(void); // dpi_probe_win.c (Windows only)
int list_monitors(void); // --list-monitors: gfx_window_win.c, gfx_window_sdl.c
int probe_mods(void); // mods_probe.c
void discord_init(void); // discord_rpc.c: the Rich Presence thread, game runs only
int probe_discord(void); // discord_rpc.c