diff src/video/cocoa/SDL_cocoavideo.h @ 3025:54fac87e1f34

Added an API to enable/disable the screen saver. The screensaver is disabled by default when using SDL 1.2 compatibility. Use the new XScreenSaver extension, removed unused DPMS extension.
author Sam Lantinga <slouken@libsdl.org>
date Mon, 12 Jan 2009 06:19:05 +0000
parents 99210400e8b9
children fef1a835af43
line wrap: on
line diff
--- a/src/video/cocoa/SDL_cocoavideo.h	Sun Jan 11 23:56:19 2009 +0000
+++ b/src/video/cocoa/SDL_cocoavideo.h	Mon Jan 12 06:19:05 2009 +0000
@@ -49,6 +49,7 @@
     int keyboard;
     void *key_layout;
     NSText *fieldEdit;
+    Uint32 screensaver_activity;
 } SDL_VideoData;
 
 #endif /* _SDL_cocoavideo_h */