summaryrefslogtreecommitdiffstats
path: root/xlib/X11/X.h
diff options
context:
space:
mode:
Diffstat (limited to 'xlib/X11/X.h')
-rw-r--r--xlib/X11/X.h88
1 files changed, 44 insertions, 44 deletions
diff --git a/xlib/X11/X.h b/xlib/X11/X.h
index bdc4f13..daf2283 100644
--- a/xlib/X11/X.h
+++ b/xlib/X11/X.h
@@ -13,13 +13,13 @@ and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
All Rights Reserved
-Permission to use, copy, modify, and distribute this software and its
-documentation for any purpose and without fee is hereby granted,
+Permission to use, copy, modify, and distribute this software and its
+documentation for any purpose and without fee is hereby granted,
provided that the above copyright notice appear in all copies and that
-both that copyright notice and this permission notice appear in
+both that copyright notice and this permission notice appear in
supporting documentation, and that the names of Digital or MIT not be
used in advertising or publicity pertaining to distribution of the
-software without specific, written prior permission.
+software without specific, written prior permission.
DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
@@ -100,39 +100,39 @@ typedef unsigned long KeyCode; /* In order to use IME, the Macintosh needs
#define NoSymbol 0L /* special KeySym */
-/*****************************************************************
- * EVENT DEFINITIONS
+/*****************************************************************
+ * EVENT DEFINITIONS
*****************************************************************/
/* Input Event Masks. Used as event-mask window attribute and as arguments
to Grab requests. Not to be confused with event names. */
#define NoEventMask 0L
-#define KeyPressMask (1L<<0)
-#define KeyReleaseMask (1L<<1)
-#define ButtonPressMask (1L<<2)
-#define ButtonReleaseMask (1L<<3)
-#define EnterWindowMask (1L<<4)
-#define LeaveWindowMask (1L<<5)
-#define PointerMotionMask (1L<<6)
-#define PointerMotionHintMask (1L<<7)
-#define Button1MotionMask (1L<<8)
-#define Button2MotionMask (1L<<9)
-#define Button3MotionMask (1L<<10)
-#define Button4MotionMask (1L<<11)
-#define Button5MotionMask (1L<<12)
-#define ButtonMotionMask (1L<<13)
+#define KeyPressMask (1L<<0)
+#define KeyReleaseMask (1L<<1)
+#define ButtonPressMask (1L<<2)
+#define ButtonReleaseMask (1L<<3)
+#define EnterWindowMask (1L<<4)
+#define LeaveWindowMask (1L<<5)
+#define PointerMotionMask (1L<<6)
+#define PointerMotionHintMask (1L<<7)
+#define Button1MotionMask (1L<<8)
+#define Button2MotionMask (1L<<9)
+#define Button3MotionMask (1L<<10)
+#define Button4MotionMask (1L<<11)
+#define Button5MotionMask (1L<<12)
+#define ButtonMotionMask (1L<<13)
#define KeymapStateMask (1L<<14)
-#define ExposureMask (1L<<15)
-#define VisibilityChangeMask (1L<<16)
-#define StructureNotifyMask (1L<<17)
-#define ResizeRedirectMask (1L<<18)
-#define SubstructureNotifyMask (1L<<19)
-#define SubstructureRedirectMask (1L<<20)
-#define FocusChangeMask (1L<<21)
-#define PropertyChangeMask (1L<<22)
-#define ColormapChangeMask (1L<<23)
-#define OwnerGrabButtonMask (1L<<24)
+#define ExposureMask (1L<<15)
+#define VisibilityChangeMask (1L<<16)
+#define StructureNotifyMask (1L<<17)
+#define ResizeRedirectMask (1L<<18)
+#define SubstructureNotifyMask (1L<<19)
+#define SubstructureRedirectMask (1L<<20)
+#define FocusChangeMask (1L<<21)
+#define PropertyChangeMask (1L<<22)
+#define ColormapChangeMask (1L<<23)
+#define OwnerGrabButtonMask (1L<<24)
/* Event names. Used in "type" field in XEvent structures. Not to be
confused with event masks above. They start from 2 because 0 and 1
@@ -229,7 +229,7 @@ are reserved in the protocol for errors and replies. */
#define NotifyWhileGrabbed 3
#define NotifyHint 1 /* for MotionNotify events */
-
+
/* Notify detail */
#define NotifyAncestor 0
@@ -299,7 +299,7 @@ are reserved in the protocol for errors and replies. */
#define RevertToParent 2
/*****************************************************************
- * ERROR CODES
+ * ERROR CODES
*****************************************************************/
#define Success 0 /* everything's okay */
@@ -314,9 +314,9 @@ are reserved in the protocol for errors and replies. */
#define BadDrawable 9 /* parameter not a Pixmap or Window */
#define BadAccess 10 /* depending on context:
- key/button already grabbed
- - attempt to free an illegal
- cmap entry
- - attempt to store into a read-only
+ - attempt to free an illegal
+ cmap entry
+ - attempt to store into a read-only
color map entry.
- attempt to modify the access control
list from other than the local host.
@@ -333,7 +333,7 @@ are reserved in the protocol for errors and replies. */
#define LastExtensionError 255
/*****************************************************************
- * WINDOW DEFINITIONS
+ * WINDOW DEFINITIONS
*****************************************************************/
/* Window classes used by CreateWindow */
@@ -525,7 +525,7 @@ are reserved in the protocol for errors and replies. */
#define GCCapStyle (1L<<6)
#define GCJoinStyle (1L<<7)
#define GCFillStyle (1L<<8)
-#define GCFillRule (1L<<9)
+#define GCFillRule (1L<<9)
#define GCTile (1L<<10)
#define GCStipple (1L<<11)
#define GCTileStipXOrigin (1L<<12)
@@ -542,7 +542,7 @@ are reserved in the protocol for errors and replies. */
#define GCLastBit 22
/*****************************************************************
- * FONTS
+ * FONTS
*****************************************************************/
/* used in QueryFont -- draw direction */
@@ -553,7 +553,7 @@ are reserved in the protocol for errors and replies. */
#define FontChange 255
/*****************************************************************
- * IMAGING
+ * IMAGING
*****************************************************************/
/* ImageFormat -- PutImage, GetImage */
@@ -563,7 +563,7 @@ are reserved in the protocol for errors and replies. */
#define ZPixmap 2 /* depth == drawable depth */
/*****************************************************************
- * COLOR MAP STUFF
+ * COLOR MAP STUFF
*****************************************************************/
/* For CreateColormap */
@@ -588,7 +588,7 @@ are reserved in the protocol for errors and replies. */
#define TileShape 1 /* size tiled fastest */
#define StippleShape 2 /* size stippled fastest */
-/*****************************************************************
+/*****************************************************************
* KEYBOARD/POINTER STUFF
*****************************************************************/
@@ -619,7 +619,7 @@ are reserved in the protocol for errors and replies. */
#define MappingPointer 2
/*****************************************************************
- * SCREEN SAVER STUFF
+ * SCREEN SAVER STUFF
*****************************************************************/
#define DontPreferBlanking 0
@@ -649,10 +649,10 @@ are reserved in the protocol for errors and replies. */
/* for ChangeAccessControl */
-#define EnableAccess 1
+#define EnableAccess 1
#define DisableAccess 0
-/* Display classes used in opening the connection
+/* Display classes used in opening the connection
* Note that the statically allocated ones are even numbered and the
* dynamically changeable ones are odd numbered */