diff options
author | Keith Packard <keithp@evo.keithp.com> | 2006-02-24 02:55:19 +0100 |
---|---|---|
committer | Keith Packard <keithp@evo.keithp.com> | 2006-02-24 02:55:19 +0100 |
commit | 565c0bcc569f5ab9114314185316fe2129aa5a3e (patch) | |
tree | 65aaab93a5e6fdd9733828366e653bc933c9d7be /compositeproto.h | |
parent | 8e0790045d33525ec182afd3997014b46ef77b66 (diff) |
Add coordinate transform redirect protocol bits
Diffstat (limited to 'compositeproto.h')
-rw-r--r-- | compositeproto.h | 50 |
1 files changed, 49 insertions, 1 deletions
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 |