comparison src/video/x11/SDL_x11dyn.c @ 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 76a1692fcec5
comparison
equal deleted inserted replaced
3024:1a08749aebce 3025:54fac87e1f34
60 {NULL, SDL_VIDEO_DRIVER_X11_DYNAMIC}, 60 {NULL, SDL_VIDEO_DRIVER_X11_DYNAMIC},
61 {NULL, SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT}, 61 {NULL, SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT},
62 {NULL, SDL_VIDEO_DRIVER_X11_DYNAMIC_XRENDER}, 62 {NULL, SDL_VIDEO_DRIVER_X11_DYNAMIC_XRENDER},
63 {NULL, SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR}, 63 {NULL, SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR},
64 {NULL, SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT}, 64 {NULL, SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT},
65 {NULL, SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS},
65 }; 66 };
66 67
67 static void 68 static void
68 X11_GetSym(const char *fnname, int *rc, void **fn) 69 X11_GetSym(const char *fnname, int *rc, void **fn)
69 { 70 {