diff src/video/x11/SDL_x11video.h @ 242:4bcb29d3769c

Added support for Xi Graphics XME fullscreen extension
author Sam Lantinga <slouken@libsdl.org>
date Thu, 22 Nov 2001 04:55:38 +0000
parents 24878c14b391
children e8157fcb3114
line wrap: on
line diff
--- a/src/video/x11/SDL_x11video.h	Thu Nov 22 03:47:16 2001 +0000
+++ b/src/video/x11/SDL_x11video.h	Thu Nov 22 04:55:38 2001 +0000
@@ -47,6 +47,9 @@
 #define XVidMode(func, args)	XF86VidMode##func args
 #endif
 #endif /* XFREE86_VM */
+#ifdef HAVE_XIGXME
+#include <X11/extensions/xme.h>
+#endif
 
 #include <string.h>
 
@@ -121,6 +124,11 @@
         int x, y;
     } saved_view;
 #endif
+#ifdef HAVE_XIGXME /* XiG XME fullscreen */
+    int use_xme;
+    XiGMiscResolutionInfo saved_res;
+#endif
+
     int xinerama_x;
     int xinerama_y;
     int use_vidmode;
@@ -172,6 +180,8 @@
 #define SDL_modelist		(this->hidden->modelist)
 #define saved_mode		(this->hidden->saved_mode)
 #define saved_view		(this->hidden->saved_view)
+#define use_xme			(this->hidden->use_xme)
+#define saved_res		(this->hidden->saved_res)
 #define xinerama_x		(this->hidden->xinerama_x)
 #define xinerama_y		(this->hidden->xinerama_y)
 #define use_vidmode		(this->hidden->use_vidmode)