src/video/dga/SDL_dgavideo.h
changeset 1792 409974dedf2e
parent 1784 45669d4efd02
child 1895 c121d94672cb
child 4056 6f7af895ab02
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)