VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/7.0/X11/extensions/compositeproto.h@ 17234

Last change on this file since 17234 was 17234, checked in by vboxsync, 16 years ago

Additions/x11/x11include: blast! Corrected svn:keywords property on all files as per http://linserv.germany/vbox/wiki/SvnKeywords

  • Property svn:eol-style set to native
File size: 3.5 KB
Line 
1/*
2 * $Id: compositeproto.h 43555 2009-03-02 10:37:38Z michael $
3 *
4 * Copyright © 2003 Keith Packard
5 *
6 * Permission to use, copy, modify, distribute, and sell this software and its
7 * documentation for any purpose is hereby granted without fee, provided that
8 * the above copyright notice appear in all copies and that both that
9 * copyright notice and this permission notice appear in supporting
10 * documentation, and that the name of Keith Packard not be used in
11 * advertising or publicity pertaining to distribution of the software without
12 * specific, written prior permission. Keith Packard makes no
13 * representations about the suitability of this software for any purpose. It
14 * is provided "as is" without express or implied warranty.
15 *
16 * KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
17 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
18 * EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
19 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
20 * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
21 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
22 * PERFORMANCE OF THIS SOFTWARE.
23 */
24
25#ifndef _COMPOSITEPROTO_H_
26#define _COMPOSITEPROTO_H_
27
28#include <X11/Xmd.h>
29#include <X11/extensions/composite.h>
30
31#define Window CARD32
32#define Region CARD32
33
34/*
35 * requests and replies
36 */
37typedef struct {
38 CARD8 reqType;
39 CARD8 compositeReqType;
40 CARD16 length B16;
41 CARD32 majorVersion B32;
42 CARD32 minorVersion B32;
43} xCompositeQueryVersionReq;
44
45#define sz_xCompositeQueryVersionReq 12
46
47typedef struct {
48 BYTE type; /* X_Reply */
49 BYTE pad1;
50 CARD16 sequenceNumber B16;
51 CARD32 length B32;
52 CARD32 majorVersion B32;
53 CARD32 minorVersion B32;
54 CARD32 pad2 B32;
55 CARD32 pad3 B32;
56 CARD32 pad4 B32;
57 CARD32 pad5 B32;
58} xCompositeQueryVersionReply;
59
60#define sz_xCompositeQueryVersionReply 32
61
62typedef struct {
63 CARD8 reqType;
64 CARD8 compositeReqType;
65 CARD16 length B16;
66 Window window B32;
67 CARD8 update;
68 CARD8 pad1;
69 CARD16 pad2 B16;
70} xCompositeRedirectWindowReq;
71
72#define sz_xCompositeRedirectWindowReq 12
73
74typedef struct {
75 CARD8 reqType;
76 CARD8 compositeReqType;
77 CARD16 length B16;
78 Window window B32;
79 CARD8 update;
80 CARD8 pad1;
81 CARD16 pad2 B16;
82} xCompositeRedirectSubwindowsReq;
83
84#define sz_xCompositeRedirectSubwindowsReq 12
85
86typedef struct {
87 CARD8 reqType;
88 CARD8 compositeReqType;
89 CARD16 length B16;
90 Window window B32;
91 CARD8 update;
92 CARD8 pad1;
93 CARD16 pad2 B16;
94} xCompositeUnredirectWindowReq;
95
96#define sz_xCompositeUnredirectWindowReq 12
97
98typedef struct {
99 CARD8 reqType;
100 CARD8 compositeReqType;
101 CARD16 length B16;
102 Window window B32;
103 CARD8 update;
104 CARD8 pad1;
105 CARD16 pad2 B16;
106} xCompositeUnredirectSubwindowsReq;
107
108#define sz_xCompositeUnredirectSubwindowsReq 12
109
110typedef struct {
111 CARD8 reqType;
112 CARD8 compositeReqType;
113 CARD16 length B16;
114 Region region B32;
115 Window window B32;
116} xCompositeCreateRegionFromBorderClipReq;
117
118#define sz_xCompositeCreateRegionFromBorderClipReq 12
119
120/* Version 0.2 additions */
121
122typedef struct {
123 CARD8 reqType;
124 CARD8 compositeReqType;
125 CARD16 length;
126 Window window B32;
127 Pixmap pixmap B32;
128} xCompositeNameWindowPixmapReq;
129
130#define sz_xCompositeNameWindowPixmapReq 12
131
132#undef Window
133#undef Region
134
135#endif /* _COMPOSITEPROTO_H_ */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette