src/video/quartz/SDL_QuartzVideo.h
branchSDL-1.2
changeset 3936 c5c3c772f5aa
parent 3877 81f66f258d77
child 4049 60f677630282
     1.1 --- a/src/video/quartz/SDL_QuartzVideo.h	Wed Apr 04 10:34:42 2007 +0000
     1.2 +++ b/src/video/quartz/SDL_QuartzVideo.h	Fri Apr 06 20:30:41 2007 +0000
     1.3 @@ -80,6 +80,7 @@
     1.4  /* Main driver structure to store required state information */
     1.5  typedef struct SDL_PrivateVideoData {
     1.6  
     1.7 +    BOOL               allow_screensaver;  /* 0 == disable screensaver */
     1.8      CGDirectDisplayID  display;            /* 0 == main display (only support single display) */
     1.9      CFDictionaryRef    mode;               /* current mode of the display */
    1.10      CFDictionaryRef    save_mode;          /* original mode of the display */
    1.11 @@ -127,6 +128,7 @@
    1.12  #define display_id (this->hidden->display)
    1.13  #define mode (this->hidden->mode)
    1.14  #define save_mode (this->hidden->save_mode)
    1.15 +#define allow_screensaver (this->hidden->allow_screensaver)
    1.16  #define mode_list (this->hidden->mode_list)
    1.17  #define palette (this->hidden->palette)
    1.18  #define gl_context (this->hidden->gl_context)