pub fn get_video_minimize_on_focus_loss() -> bool
Expand description

A hint that specifies whether a fullscreen Window will be minimized if key focus is lost.

Official SDL documentation

Default

By default this will return true.

Example

assert_eq!(sdl2::hint::get_video_minimize_on_focus_loss(), true);

sdl2::hint::set_video_minimize_on_focus_loss(false);
assert_eq!(sdl2::hint::get_video_minimize_on_focus_loss(), false);