summaryrefslogtreecommitdiff
path: root/xc/include/extensions/saverproto.h
diff options
context:
space:
mode:
Diffstat (limited to 'xc/include/extensions/saverproto.h')
-rw-r--r--xc/include/extensions/saverproto.h28
1 files changed, 27 insertions, 1 deletions
diff --git a/xc/include/extensions/saverproto.h b/xc/include/extensions/saverproto.h
index 417464238..dd06ed541 100644
--- a/xc/include/extensions/saverproto.h
+++ b/xc/include/extensions/saverproto.h
@@ -26,13 +26,26 @@ in this Software without prior written authorization from the X Consortium.
*
* Author: Keith Packard, MIT X Consortium
*/
-/* $XFree86: xc/include/extensions/saverproto.h,v 3.1 2001/08/01 00:44:35 tsi Exp $ */
+/* $XFree86: xc/include/extensions/saverproto.h,v 3.2 2002/09/16 18:05:19 eich Exp $ */
#ifndef _SAVERPROTO_H_
#define _SAVERPROTO_H_
#include <X11/extensions/saver.h>
+#define Window CARD32
+#define Drawable CARD32
+#define Font CARD32
+#define Pixmap CARD32
+#define Cursor CARD32
+#define Colormap CARD32
+#define GContext CARD32
+#define Atom CARD32
+#define VisualID CARD32
+#define Time CARD32
+#define KeyCode CARD8
+#define KeySym CARD32
+
#define X_ScreenSaverQueryVersion 0
typedef struct _ScreenSaverQueryVersion {
@@ -139,4 +152,17 @@ typedef struct _ScreenSaverNotify {
} xScreenSaverNotifyEvent;
#define sz_xScreenSaverNotifyEvent 32
+#undef Window
+#undef Drawable
+#undef Font
+#undef Pixmap
+#undef Cursor
+#undef Colormap
+#undef GContext
+#undef Atom
+#undef VisualID
+#undef Time
+#undef KeyCode
+#undef KeySym
+
#endif /* _SAVERPROTO_H_ */