Function sdl2_sys::SDL_DisableScreenSaver
source ยท pub unsafe extern "C" fn SDL_DisableScreenSaver()
Expand description
Prevent the screen from being blanked by a screen saver.
If you disable the screensaver, it is automatically re-enabled when SDL quits.
The screensaver is disabled by default since SDL 2.0.2. Before SDL 2.0.2 the screensaver was enabled by default.
\since This function is available since SDL 2.0.0.
\sa SDL_EnableScreenSaver \sa SDL_IsScreenSaverEnabled