include/SDL_hints.h
changeset 8266 d123fc5d02bc
parent 8221 6ded2087e346
child 8274 8b1f8feb42a6
     1.1 --- a/include/SDL_hints.h	Thu Feb 27 22:06:41 2014 -0500
     1.2 +++ b/include/SDL_hints.h	Fri Feb 28 14:23:41 2014 -0800
     1.3 @@ -129,6 +129,17 @@
     1.4  #define SDL_HINT_RENDER_VSYNC               "SDL_RENDER_VSYNC"
     1.5  
     1.6  /**
     1.7 + *  \brief  A variable controlling whether the screensaver is enabled. 
     1.8 + *
     1.9 + *  This variable can be set to the following values:
    1.10 + *    "0"       - Disable screensaver
    1.11 + *    "1"       - Enable screensaver
    1.12 + *
    1.13 + *  By default SDL will disable the screensaver.
    1.14 + */
    1.15 +#define SDL_HINT_VIDEO_ALLOW_SCREENSAVER    "SDL_VIDEO_ALLOW_SCREENSAVER"
    1.16 +
    1.17 +/**
    1.18   *  \brief  A variable controlling whether the X11 VidMode extension should be used.
    1.19   *
    1.20   *  This variable can be set to the following values: