(This is the legacy documentation for stable SDL2, the current stable version; SDL3 is the current development version.)

SDL_HINT_WINDOW_NO_ACTIVATION_WHEN_SHOWN

A variable controlling whether the window is activated when the SDL_ShowWindow function is called

Header File

Defined in SDL_hints.h

Syntax

#define SDL_HINT_WINDOW_NO_ACTIVATION_WHEN_SHOWN    "SDL_WINDOW_NO_ACTIVATION_WHEN_SHOWN"

Remarks

This variable can be set to the following values:

By default SDL will activate the window when the SDL_ShowWindow function is called


CategoryAPI, CategoryAPIMacro, CategoryHints