[][src]Function sdl2::hint::set_video_minimize_on_focus_loss

pub fn set_video_minimize_on_focus_loss(value: bool) -> bool

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

Official SDL documentation

Default

This is enabled by default.

Example

sdl2::hint::set_video_minimize_on_focus_loss(false);