2
* $Id: compositeproto.h $
4
* Copyright © 2003 Keith Packard
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.
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.
25
#ifndef _COMPOSITEPROTO_H_
26
#define _COMPOSITEPROTO_H_
29
#include <X11/extensions/composite.h>
35
* requests and replies
39
CARD8 compositeReqType;
41
CARD32 majorVersion B32;
42
CARD32 minorVersion B32;
43
} xCompositeQueryVersionReq;
45
#define sz_xCompositeQueryVersionReq 12
48
BYTE type; /* X_Reply */
50
CARD16 sequenceNumber B16;
52
CARD32 majorVersion B32;
53
CARD32 minorVersion B32;
58
} xCompositeQueryVersionReply;
60
#define sz_xCompositeQueryVersionReply 32
64
CARD8 compositeReqType;
70
} xCompositeRedirectWindowReq;
72
#define sz_xCompositeRedirectWindowReq 12
76
CARD8 compositeReqType;
82
} xCompositeRedirectSubwindowsReq;
84
#define sz_xCompositeRedirectSubwindowsReq 12
88
CARD8 compositeReqType;
94
} xCompositeUnredirectWindowReq;
96
#define sz_xCompositeUnredirectWindowReq 12
100
CARD8 compositeReqType;
106
} xCompositeUnredirectSubwindowsReq;
108
#define sz_xCompositeUnredirectSubwindowsReq 12
112
CARD8 compositeReqType;
116
} xCompositeCreateRegionFromBorderClipReq;
118
#define sz_xCompositeCreateRegionFromBorderClipReq 12
120
/* Version 0.2 additions */
124
CARD8 compositeReqType;
128
} xCompositeNameWindowPixmapReq;
130
#define sz_xCompositeNameWindowPixmapReq 12
135
#endif /* _COMPOSITEPROTO_H_ */