Function sdl2::hint::get_video_minimize_on_focus_lost [] [src]

pub fn get_video_minimize_on_focus_lost() -> bool

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_lost(), true);

sdl2::hint::set_video_minimize_on_focus_lost(false);
assert_eq!(sdl2::hint::get_video_minimize_on_focus_lost(), false);