comparison src/video/SDL_sysvideo.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 e4a469d6ddab
children 089a77aebb7d
comparison
equal deleted inserted replaced
3024:1a08749aebce 3025:54fac87e1f34
271 /* 271 /*
272 * Event manager functions 272 * Event manager functions
273 */ 273 */
274 void (*PumpEvents) (_THIS); 274 void (*PumpEvents) (_THIS);
275 275
276 /* Suspend the screensaver */
277 void (*SuspendScreenSaver) (_THIS);
278
276 /* * * */ 279 /* * * */
277 /* Data common to all drivers */ 280 /* Data common to all drivers */
281 SDL_bool suspend_screensaver;
278 int num_displays; 282 int num_displays;
279 SDL_VideoDisplay *displays; 283 SDL_VideoDisplay *displays;
280 int current_display; 284 int current_display;
281 Uint32 next_object_id; 285 Uint32 next_object_id;
282 286