diff src/video/x11/SDL_x11modes.h @ 2873:b33e38aaa027

Progress on fullscreen mode switching on X11
author Sam Lantinga <slouken@libsdl.org>
date Tue, 16 Dec 2008 17:41:03 +0000
parents b801df19835f
children 36e312e0fac0
line wrap: on
line diff
--- a/src/video/x11/SDL_x11modes.h	Tue Dec 16 17:40:30 2008 +0000
+++ b/src/video/x11/SDL_x11modes.h	Tue Dec 16 17:41:03 2008 +0000
@@ -29,6 +29,27 @@
     int screen;
     Visual *visual;
     int depth;
+
+    int use_xinerama;
+    int use_xrandr;
+    int use_vidmode;
+
+#if SDL_VIDEO_DRIVER_X11_XINERAMA
+    SDL_NAME(XineramaScreenInfo) xinerama_info;
+#endif
+#if SDL_VIDEO_DRIVER_X11_XRANDR
+    XRRScreenConfiguration *screen_config;
+    int saved_size;
+    Rotation saved_rotation;
+    short saved_rate;
+#endif
+#if SDL_VIDEO_DRIVER_X11_VIDMODE
+    SDL_NAME(XF86VidModeModeInfo) saved_mode;
+    struct {
+        int x, y;
+    } saved_view;
+#endif
+
 } SDL_DisplayData;
 
 extern void X11_InitModes(_THIS);