diff options
-rw-r--r-- | composite.h | 12 | ||||
-rw-r--r-- | compositeproto.h | 50 |
2 files changed, 58 insertions, 4 deletions
diff --git a/composite.h b/composite.h index 4ba6b45..223a7c9 100644 --- a/composite.h +++ b/composite.h @@ -1,5 +1,5 @@ /* - * $Id: composite.h,v 1.4 2004-07-08 07:20:55 keithp Exp $ + * $Id: composite.h,v 1.4 2004/07/08 07:20:55 keithp Exp $ * * Copyright © 2003 Keith Packard * @@ -29,7 +29,7 @@ #define COMPOSITE_NAME "Composite" #define COMPOSITE_MAJOR 0 -#define COMPOSITE_MINOR 2 +#define COMPOSITE_MINOR 3 #define CompositeRedirectAutomatic 0 #define CompositeRedirectManual 1 @@ -41,7 +41,13 @@ #define X_CompositeUnredirectSubwindows 4 #define X_CompositeCreateRegionFromBorderClip 5 #define X_CompositeNameWindowPixmap 6 +#define X_CompositeRedirectCoordinate 7 +#define X_CompositeTransformCoordinate 8 -#define CompositeNumberRequests (X_CompositeNameWindowPixmap + 1) +#define CompositeNumberRequests (X_CompositeTransformCoordinate + 1) + +#define CompositeTransformCoordinateNotify 0 + +#define CompositeNumberEvents 1 #endif /* _COMPOSITE_H_ */ diff --git a/compositeproto.h b/compositeproto.h index bd8999d..6b391f8 100644 --- a/compositeproto.h +++ b/compositeproto.h @@ -1,5 +1,5 @@ /* - * $Id: compositeproto.h,v 1.4 2004-07-08 07:20:55 keithp Exp $ + * $Id: compositeproto.h,v 1.4 2004/07/08 07:20:55 keithp Exp $ * * Copyright © 2003 Keith Packard * @@ -129,6 +129,54 @@ typedef struct { #define sz_xCompositeNameWindowPixmapReq 12 +/* Version 0.3 additions */ + +typedef struct { + CARD8 reqType; + CARD8 compositeReqType; + CARD16 length; + Window window B32; + BOOL redirect; + BYTE unused1; + CARD16 unused2 B16; +} xCompositeRedirectCoordinateReq; + +#define sz_xCompositeRedirectCoordinateReq 12 + +typedef struct { + CARD8 type; + CARD8 subtype; /* XXX use this? */ + CARD16 sequenceNumber B16; + Time time B32; + Window window B32; + Window child B32; + CARD32 serialNumber B32; + CARD32 count B32; + CARD16 x B16; + CARD16 y B16; + CARD32 pad1 B32; +} xCompositeTransformCoordinateNotifyEvent; + +typedef struct { + Window window B32; + CARD16 x B16; + CARD16 y B16; +} xCompositeCoordinate; + +#define sz_xCompositeCoordinate 8 + +typedef struct { + CARD8 reqType; + CARD8 compositeReqType; + CARD16 length; + Window window B32; + CARD32 serialNumber B32; + CARD16 x B16; + CARD16 y B16; +} xCompositeTransformCoordinateReq; + +#define sz_xCompositeTransformCoordinateReq 16 + #undef Window #undef Region |