Skip to content

Add a Settings.ini property to launch with the game window minimised - #292

Open
Causeless wants to merge 2 commits into
developmentfrom
launch-minimised-setting
Open

Causeless wants to merge 2 commits into
developmentfrom
launch-minimised-setting

Conversation

@Causeless

Copy link
Copy Markdown
Contributor

Adds a LaunchMinimised = 0/1 property to Settings.ini, off by default. With it on, the game window is created minimised, so launching the game doesn't take input focus or open on top of other windows. That's handy when the game gets launched in the background, like when running it over and over for testing.

🤖 Generated with Claude Code

Causeless and others added 2 commits October 11, 2026 21:12
Launching the game puts its window above everything else and gives it input
focus, which gets in the way when it's launched in the background, like when
running it over and over for testing.

With LaunchMinimised set, the window is created minimised. On Windows, SDL
creates it that way without activating it, so nothing shows up or loses focus.

A resolution that fills the display has the window maximised after creating
it, which would bring it back up, so that is skipped when launching minimised.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant