Function sdl2::hint::set_video_minimize_on_focus_loss
source · [−]Expand description
A hint that specifies whether a fullscreen Window will be minimized if key focus is lost.
Default
This is enabled by default.
Example
sdl2::hint::set_video_minimize_on_focus_loss(false);value:trueto enable minimizing of the Window if it loses key focus when in fullscreen mode,falseto disable this feature.