[][src]Function sdl2::hint::set_video_minimize_on_focus_loss_with_priority

pub fn set_video_minimize_on_focus_loss_with_priority(
    value: bool,
    priority: &Hint
) -> bool

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

Official SDL documentation

Example

sdl2::hint::set_video_minimize_on_focus_loss_with_priority(false, &sdl2::hint::Hint::Override);