[Xorg-commit] xc/include/extensions Xinerama.h,1.1.4.1,1.1.4.2

Kaleb Keithley xorg-commit at pdx.freedesktop.org
Mon Dec 29 15:39:27 EET 2003


Committed by: kaleb

Update of /cvs/xorg/xc/include/extensions
In directory pdx:/home/kaleb/xorg/xc.XORG-CURRENT/include/extensions

Modified Files:
      Tag: XORG-CURRENT
	Xinerama.h 
Log Message:
Add BC (backwards compat) to the old (pre-Standard) Xinerama ABI/API.
I didn't go "all the way back" to the XPanoramiX API. Does anyone think
that's interesting?


Index: Xinerama.h
===================================================================
RCS file: /cvs/xorg/xc/include/extensions/Xinerama.h,v
retrieving revision 1.1.4.1
retrieving revision 1.1.4.2
diff -u -d -r1.1.4.1 -r1.1.4.2
--- Xinerama.h	18 Dec 2003 22:59:34 -0000	1.1.4.1
+++ Xinerama.h	29 Dec 2003 13:38:55 -0000	1.1.4.2
@@ -31,6 +31,16 @@
 #define _XINERAMA_H
  
 #include <X11/Xfuncproto.h>
+
+#ifndef XNOXINERAMABC
+typedef struct {
+   int   screen_number;
+   short x_org;
+   short y_org;
+   short width;
+   short height;
+} XineramaScreenInfo;
+#endif
  
 _XFUNCPROTOBEGIN
  
@@ -50,6 +60,12 @@
     Display *dpy,
     Window window
 );
+
+#ifndef XNOXINERAMABC
+Bool XineramaIsActive (
+    Display *dpy
+);
+#endif
  
 Status XineramaGetData(
     Display *dpy,
@@ -58,6 +74,13 @@
     int *number_framebuffers
 );
  
+#ifndef XNOXINERAMABC
+XineramaScreenInfo *XineramaQueryScreens (
+    Display *dpy,
+    int *number
+);
+#endif
+ 
 Status XineramaGetCenterHint (
     Display *dpy,
     Window root,





More information about the xorg-commit mailing list