include/SDL_hints.h
changeset 8295 56f7e38ff0bc
parent 8284 a2910aa6c056
child 8583 fb2933ca805f
     1.1 --- a/include/SDL_hints.h	Sun Mar 02 22:55:12 2014 -0500
     1.2 +++ b/include/SDL_hints.h	Mon Mar 03 21:25:16 2014 -0500
     1.3 @@ -348,6 +348,26 @@
     1.4  #define SDL_HINT_VIDEO_WINDOW_SHARE_PIXEL_FORMAT    "SDL_VIDEO_WINDOW_SHARE_PIXEL_FORMAT"
     1.5  
     1.6  /**
     1.7 + *  \brief  A variable that dictates policy for fullscreen Spaces on Mac OS X.
     1.8 + *
     1.9 + *  This hint only applies to Mac OS X.
    1.10 + *
    1.11 + *  The variable can be set to the following values:
    1.12 + *    "0"       - Disable Spaces support (FULLSCREEN_DESKTOP won't use them and
    1.13 + *                SDL_WINDOW_RESIZABLE windows won't offer the "fullscreen"
    1.14 + *                button on their titlebars).
    1.15 + *    "1"       - Enable Spaces support (FULLSCREEN_DESKTOP will use them and
    1.16 + *                SDL_WINDOW_RESIZABLE windows will offer the "fullscreen"
    1.17 + *                button on their titlebars.
    1.18 + *
    1.19 + *  The default value is "1". Spaces are disabled regardless of this hint if
    1.20 + *   the OS isn't at least Mac OS X Lion (10.7). This hint must be set before
    1.21 + *   any windows are created.
    1.22 + */
    1.23 +#define SDL_HINT_VIDEO_MAC_FULLSCREEN_SPACES    "SDL_VIDEO_MAC_FULLSCREEN_SPACES"
    1.24 +
    1.25 +
    1.26 +/**
    1.27   *  \brief  An enumeration of hint priorities
    1.28   */
    1.29  typedef enum