VIDEO_ALLOW_SCREENSAVER


Description:

[ Version ( since = "2.0.2" ) ]
[ CCode ( cname = "SDL_HINT_VIDEO_ALLOW_SCREENSAVER" ) ]
public const string VIDEO_ALLOW_SCREENSAVER

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.


Namespace: SDL.Hint
Package: sdl2