pub fn set_video_minimize_on_focus_loss(value: bool) -> bool
Expand description

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);
  • value: true to enable minimizing of the Window if it loses key focus when in fullscreen mode, false to disable this feature.