diff options
author | Deron <dj4236@chiru.it.sfbay.sun.com> | 2006-03-31 03:29:42 -0800 |
---|---|---|
committer | Deron <dj4236@chiru.it.sfbay.sun.com> | 2006-03-31 03:29:42 -0800 |
commit | ba9ca99638fac157b126a2d9a3e57385bad32998 (patch) | |
tree | 0e70d3a2277a5ad5db5cbaa80c0bdd528ad57e3d /compositeproto.h | |
parent | 565c0bcc569f5ab9114314185316fe2129aa5a3e (diff) |
Sync'd with modular proto/Composite (Version 0.3 definitions).
Also changed CTR definitions to Version 0.4 and increased the
request numbers to be above those of Version 0.3.
Diffstat (limited to 'compositeproto.h')
-rw-r--r-- | compositeproto.h | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/compositeproto.h b/compositeproto.h index 6b391f8..b7c605b 100644 --- a/compositeproto.h +++ b/compositeproto.h @@ -1,6 +1,27 @@ /* * $Id: compositeproto.h,v 1.4 2004/07/08 07:20:55 keithp Exp $ * + * + * Copyright © 2006 Sun Microsystems + * + * Permission to use, copy, modify, distribute, and sell this software and its + * documentation for any purpose is hereby granted without fee, provided that + * the above copyright notice appear in all copies and that both that + * copyright notice and this permission notice appear in supporting + * documentation, and that the name of Sun Microsystems not be used in + * advertising or publicity pertaining to distribution of the software without + * specific, written prior permission. Sun Microsystems makes no + * representations about the suitability of this software for any purpose. It + * is provided "as is" without express or implied warranty. + * + * SUN MICROSYSTEMS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, + * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO + * EVENT SHALL SUN MICROSYSTEMS BE LIABLE FOR ANY SPECIAL, INDIRECT OR + * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, + * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER + * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + * PERFORMANCE OF THIS SOFTWARE. + * * Copyright © 2003 Keith Packard * * Permission to use, copy, modify, distribute, and sell this software and its @@ -134,6 +155,41 @@ typedef struct { typedef struct { CARD8 reqType; CARD8 compositeReqType; + CARD16 length B16; + Window window B32; +} xCompositeGetOverlayWindowReq; + +#define sz_xCompositeGetOverlayWindowReq sizeof(xCompositeGetOverlayWindowReq) + +typedef struct { + BYTE type; /* X_Reply */ + BYTE pad1; + CARD16 sequenceNumber B16; + CARD32 length B32; + Window overlayWin B32; + CARD32 pad2 B32; + CARD32 pad3 B32; + CARD32 pad4 B32; + CARD32 pad5 B32; + CARD32 pad6 B32; +} xCompositeGetOverlayWindowReply; + +#define sz_xCompositeGetOverlayWindowReply sizeof(xCompositeGetOverlayWindowReply) + +typedef struct { + CARD8 reqType; + CARD8 compositeReqType; + CARD16 length B16; + Window window B32; +} xCompositeReleaseOverlayWindowReq; + +#define sz_xCompositeReleaseOverlayWindowReq sizeof(xCompositeReleaseOverlayWindowReq) + +/* Version 0.4 additions */ + +typedef struct { + CARD8 reqType; + CARD8 compositeReqType; CARD16 length; Window window B32; BOOL redirect; |