diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-12-29 13:38:55 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-12-29 13:38:55 +0000 |
commit | af70611ed21768981f218c7e395da6bc32dd5cee (patch) | |
tree | daf2281133528beaf64be20aeb86921957ca8044 | |
parent | 500149417239d9e5709d482894a4d133d44a4dd0 (diff) |
Add BC (backwards compat) to the old (pre-Standard) Xinerama ABI/API. IXORG-RELEASE-1-BASEXEVIE-MERGEXEVIE-BASE
didn't go "all the way back" to the XPanoramiX API. Does anyone think
that's interesting?
-rw-r--r-- | Xinerama.h | 25 |
1 files changed, 24 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $XdotOrg: xc/include/extensions/xineramaProto.h,v 1.1.4.2 2003/12/18 19:29:11 kaleb Exp $ */ +/* $XdotOrg: xc/include/extensions/Xinerama.h,v 1.1.4.1 2003/12/18 22:59:34 kaleb Exp $ */ /* Copyright 2003 The Open Group @@ -31,6 +31,16 @@ in this Software without prior written authorization from The Open Group. #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 @@ Bool XineramaActive ( Display *dpy, Window window ); + +#ifndef XNOXINERAMABC +Bool XineramaIsActive ( + Display *dpy +); +#endif Status XineramaGetData( Display *dpy, @@ -58,6 +74,13 @@ Status XineramaGetData( int *number_framebuffers ); +#ifndef XNOXINERAMABC +XineramaScreenInfo *XineramaQueryScreens ( + Display *dpy, + int *number +); +#endif + Status XineramaGetCenterHint ( Display *dpy, Window root, |