pub const SDL_HINT_VIDEO_ALLOW_SCREENSAVER: &[u8];
Expand description

A variable controlling whether the screensaver is enabled.

This variable can be set to the following values:

  • “0”: Disable screensaver
  • “1”: Enable screensaver

By default SDL will disable the screensaver.