comparison src/video/dga/SDL_dgavideo.h @ 1792:409974dedf2e

More compile fixes for systems without the DPMS extension
author Sam Lantinga <slouken@libsdl.org>
date Tue, 09 May 2006 07:50:28 +0000
parents 45669d4efd02
children c121d94672cb 6f7af895ab02
comparison
equal deleted inserted replaced
1791:5652192b9c8b 1792:409974dedf2e
23 23
24 #ifndef _SDL_dgavideo_h 24 #ifndef _SDL_dgavideo_h
25 #define _SDL_dgavideo_h 25 #define _SDL_dgavideo_h
26 26
27 #include <X11/Xlib.h> 27 #include <X11/Xlib.h>
28 #include <X11/Xproto.h>
28 29
29 #include "SDL_mouse.h" 30 #include "SDL_mouse.h"
30 #include "SDL_mutex.h" 31 #include "SDL_mutex.h"
31 #include "../SDL_sysvideo.h" 32 #include "../SDL_sysvideo.h"
32 33
91 SDL_mutex *event_lock; 92 SDL_mutex *event_lock;
92 #endif 93 #endif
93 94
94 /* Screensaver settings */ 95 /* Screensaver settings */
95 int screensaver_timeout; 96 int screensaver_timeout;
96 #if SDL_VIDEO_DRIVER_X11_DPMS
97 BOOL dpms_enabled; 97 BOOL dpms_enabled;
98 #endif
99 }; 98 };
100 /* Old variable names */ 99 /* Old variable names */
101 #define DGA_Display (this->hidden->DGA_Display) 100 #define DGA_Display (this->hidden->DGA_Display)
102 #define DGA_Screen DefaultScreen(DGA_Display) 101 #define DGA_Screen DefaultScreen(DGA_Display)
103 #define DGA_colormap (this->hidden->DGA_colormap) 102 #define DGA_colormap (this->hidden->DGA_colormap)