src/video/x11/SDL_x11video.h
changeset 1589 34cca785be57
parent 1545 8d9bb0cf2c2a
child 1659 14717b52abc0
child 1765 c2c6ff414ef5
     1.1 --- a/src/video/x11/SDL_x11video.h	Wed Mar 22 09:18:10 2006 +0000
     1.2 +++ b/src/video/x11/SDL_x11video.h	Wed Mar 22 11:13:58 2006 +0000
     1.3 @@ -40,6 +40,9 @@
     1.4  #if SDL_VIDEO_DRIVER_X11_XME
     1.5  #include "../Xext/extensions/xme.h"
     1.6  #endif
     1.7 +#if SDL_VIDEO_DRIVER_X11_XRANDR
     1.8 +#include <X11/extensions/Xrandr.h>
     1.9 +#endif
    1.10  
    1.11  #include "SDL_x11dyn.h"
    1.12  
    1.13 @@ -116,10 +119,16 @@
    1.14      int use_xme;
    1.15      XiGMiscResolutionInfo saved_res;
    1.16  #endif
    1.17 +#if SDL_VIDEO_DRIVER_X11_XRANDR
    1.18 +    XRRScreenConfiguration* screen_config;
    1.19 +    int saved_size_id;
    1.20 +    Rotation saved_rotation;
    1.21 +#endif
    1.22  
    1.23      int xinerama_x;
    1.24      int xinerama_y;
    1.25      int use_vidmode;
    1.26 +    int use_xrandr;
    1.27      int currently_fullscreen;
    1.28  
    1.29      /* Automatic mode switching support (entering/leaving fullscreen) */
    1.30 @@ -169,6 +178,10 @@
    1.31  #define saved_view		(this->hidden->saved_view)
    1.32  #define use_xme			(this->hidden->use_xme)
    1.33  #define saved_res		(this->hidden->saved_res)
    1.34 +#define use_xrandr		(this->hidden->use_xrandr)
    1.35 +#define screen_config		(this->hidden->screen_config)
    1.36 +#define saved_size_id		(this->hidden->saved_size_id)
    1.37 +#define saved_rotation		(this->hidden->saved_rotation)
    1.38  #define xinerama_x		(this->hidden->xinerama_x)
    1.39  #define xinerama_y		(this->hidden->xinerama_y)
    1.40  #define use_vidmode		(this->hidden->use_vidmode)