A variable controlling whether to force the application to become the foreground process when launched on macOS.
Defined in SDL_hints.h, but apps should use #include <SDL3/SDL.h>
#define SDL_HINT_MAC_BACKGROUND_APP "SDL_MAC_BACKGROUND_APP"
The variable can be set to the following values:
This hint should be set before applicationDidFinishLaunching() is called.
This hint is available since SDL 3.0.0.
CategoryAPI, CategoryAPIMacro, [[CategoryHints]], [[CategoryDraft]]