diff src/video/x11/SDL_x11video.h @ 227:24878c14b391

Added X11 Xinerama support - fullscreen starts on screen 0
author Sam Lantinga <slouken@libsdl.org>
date Sat, 03 Nov 2001 17:03:16 +0000
parents 74212992fb08
children 4bcb29d3769c
line wrap: on
line diff
--- a/src/video/x11/SDL_x11video.h	Fri Nov 02 22:41:32 2001 +0000
+++ b/src/video/x11/SDL_x11video.h	Sat Nov 03 17:03:16 2001 +0000
@@ -47,6 +47,7 @@
 #define XVidMode(func, args)	XF86VidMode##func args
 #endif
 #endif /* XFREE86_VM */
+
 #include <string.h>
 
 #include "SDL_mouse.h"
@@ -120,6 +121,8 @@
         int x, y;
     } saved_view;
 #endif
+    int xinerama_x;
+    int xinerama_y;
     int use_vidmode;
     int currently_fullscreen;
 
@@ -169,6 +172,8 @@
 #define SDL_modelist		(this->hidden->modelist)
 #define saved_mode		(this->hidden->saved_mode)
 #define saved_view		(this->hidden->saved_view)
+#define xinerama_x		(this->hidden->xinerama_x)
+#define xinerama_y		(this->hidden->xinerama_y)
 #define use_vidmode		(this->hidden->use_vidmode)
 #define currently_fullscreen	(this->hidden->currently_fullscreen)
 #define switch_waiting		(this->hidden->switch_waiting)