diff src/video/x11/SDL_x11events.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 f7b03b6838cb
line wrap: on
line diff
--- a/src/video/x11/SDL_x11events.h	Sun Jan 11 23:56:19 2009 +0000
+++ b/src/video/x11/SDL_x11events.h	Mon Jan 12 06:19:05 2009 +0000
@@ -25,11 +25,7 @@
 #define _SDL_x11events_h
 
 extern void X11_PumpEvents(_THIS);
-extern void X11_SaveScreenSaver(Display * display, int *saved_timeout,
-                                BOOL * dpms);
-extern void X11_DisableScreenSaver(Display * display);
-extern void X11_RestoreScreenSaver(Display * display, int saved_timeout,
-                                   BOOL dpms);
+extern void X11_SuspendScreenSaver(_THIS);
 
 #endif /* _SDL_x11events_h */