Constant SDL_HINT_WINDOW_ACTIVATE_WHEN_SHOWN

pub const SDL_HINT_WINDOW_ACTIVATE_WHEN_SHOWN: *const i8 = _; // {alloc40115<imm>: *const i8}
Available on crate feature dep_sdl3 only.
Expand description

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

The variable can be set to the following values:

  • “0”: The window is not activated when the [SDL_ShowWindow] function is called.
  • “1”: The window is activated when the [SDL_ShowWindow] function is called. (default)

This hint can be set anytime.

§Availability

This hint is available since SDL 3.2.0.