summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-30 03:53:40 -0200
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-30 03:53:40 -0200
commit39a19b89cb7bd226ec51000d4e8e7643ac076ce6 (patch)
tree130f9782b9818b0f5ab91f1beefbfbb639a445ea
parent7c72e844a794a9cedd9e614e919f696b47ede5e5 (diff)
downloadxorg-lib-libXinerama-39a19b89cb7bd226ec51000d4e8e7643ac076ce6.tar.gz
panoramiXext.h is included in X Server build.
The X Server build only requires the value of the macros PANORAMIX_MAJOR_VERSION and PANORAMIX_MINOR_VERSION.
-rw-r--r--include/X11/extensions/panoramiXext.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/X11/extensions/panoramiXext.h b/include/X11/extensions/panoramiXext.h
index 82682b8..a302b82 100644
--- a/include/X11/extensions/panoramiXext.h
+++ b/include/X11/extensions/panoramiXext.h
@@ -31,9 +31,13 @@ Equipment Corporation.
#ifndef _panoramiXext_h
#define _panoramiXext_h
+#include <X11/Xfuncproto.h>
+
#define PANORAMIX_MAJOR_VERSION 1 /* current version number */
#define PANORAMIX_MINOR_VERSION 1
+#ifndef _PANORAMIX_SERVER
+
typedef struct {
Window window; /* PanoramiX window - may not exist */
int screen;
@@ -44,6 +48,8 @@ typedef struct {
XID eventMask; /* selected events for this client */
} XPanoramiXInfo;
+_XFUNCPROTOBEGIN
+
extern Bool XPanoramiXQueryExtension (
Display * /* dpy */,
int * /* event_base_return */,
@@ -79,4 +85,8 @@ extern Status XPanoramiXGetScreenSize (
XPanoramiXInfo * /* panoramiX_info */
);
+_XFUNCPROTOEND
+
+#endif /* _PANORAMIX_SERVER */
+
#endif /* _panoramiXext_h */