This repository has been archived by the owner. It is now read-only.
Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
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.
- Loading branch information
Showing
with
184 additions
and 147 deletions.
- +29 −16 configure.in
- +2 −2 include/SDL_config.h.in
- +30 −0 include/SDL_video.h
- +23 −0 src/SDL_compat.c
- +4 −0 src/video/SDL_sysvideo.h
- +39 −0 src/video/SDL_video.c
- +0 −46 src/video/Xext/extensions/xme.h
- +11 −0 src/video/cocoa/SDL_cocoaevents.m
- +1 −0 src/video/cocoa/SDL_cocoavideo.h
- +2 −2 src/video/win32/SDL_win32events.c
- +1 −0 src/video/x11/SDL_x11dyn.c
- +27 −50 src/video/x11/SDL_x11events.c
- +1 −5 src/video/x11/SDL_x11events.h
- +9 −11 src/video/x11/SDL_x11sym.h
- +1 −7 src/video/x11/SDL_x11video.c
- +4 −8 src/video/x11/SDL_x11video.h
Oops, something went wrong.