Constant VIDEO_MINIMIZE_ON_FOCUS_LOSS

pub const VIDEO_MINIMIZE_ON_FOCUS_LOSS: &'static str;
Available on crate feature dep_sdl3 only.
Expand description

A variable controlling whether fullscreen windows are minimized when they lose focus.

The variable can be set to the following values:

  • “0”: Fullscreen windows will not be minimized when they lose focus. (default)
  • “1”: Fullscreen windows are minimized when they lose focus.

This hint can be set anytime.

§Availability

This hint is available since SDL 3.2.0.