Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add setting to control automatic minimising on focus loss in fullscreen mode #6094

Merged
merged 3 commits into from
Dec 29, 2023

Commits on Dec 27, 2023

  1. Add setting to control minimise on focus loss

    - applies to fullscreen only
    - uses `SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS`
    - mobile is not considered
    Susko3 committed Dec 27, 2023
    Configuration menu
    Copy the full SHA
    6275d0d View commit details
    Browse the repository at this point in the history
  2. Add tests

    Works fine on windows 11
    Susko3 committed Dec 27, 2023
    Configuration menu
    Copy the full SHA
    b317631 View commit details
    Browse the repository at this point in the history
  3. Default to true only on desktop platforms

    "Minimising a window" probably isn't even valid on mobile, so default to `false`
    to show that we don't ever want to try doing that.
    Susko3 committed Dec 27, 2023
    Configuration menu
    Copy the full SHA
    2fdb31f View commit details
    Browse the repository at this point in the history