1 /* $XConsortium: xteststr.h,v 1.9 94/04/17 20:11:30 rws Exp $ */
4 Copyright (c) 1992 X Consortium
6 Permission is hereby granted, free of charge, to any person obtaining a copy
7 of this software and associated documentation files (the "Software"), to deal
8 in the Software without restriction, including without limitation the rights
9 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 copies of the Software, and to permit persons to whom the Software is
11 furnished to do so, subject to the following conditions:
13 The above copyright notice and this permission notice shall be included in
14 all copies or substantial portions of the Software.
16 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
20 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
21 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 Except as contained in this notice, the name of the X Consortium shall not be
24 used in advertising or otherwise to promote the sale, use or other dealings
25 in this Software without prior written authorization from the X Consortium.
36 #define XTestCurrentCursor ((Cursor)1)
39 CARD8 reqType; /* always XTestReqCode */
40 CARD8 xtReqType; /* always X_XTestGetVersion */
44 CARD16 minorVersion B16;
45 } xXTestGetVersionReq;
46 #define sz_xXTestGetVersionReq 8
49 BYTE type; /* X_Reply */
51 CARD16 sequenceNumber B16;
53 CARD16 minorVersion B16;
60 } xXTestGetVersionReply;
61 #define sz_xXTestGetVersionReply 32
64 CARD8 reqType; /* always XTestReqCode */
65 CARD8 xtReqType; /* always X_XTestCompareCursor */
69 } xXTestCompareCursorReq;
70 #define sz_xXTestCompareCursorReq 12
73 BYTE type; /* X_Reply */
75 CARD16 sequenceNumber B16;
83 } xXTestCompareCursorReply;
84 #define sz_xXTestCompareCursorReply 32
86 /* used only on the client side */
88 CARD8 reqType; /* always XTestReqCode */
89 CARD8 xtReqType; /* always X_XTestFakeInput */
98 INT16 rootX B16, rootY B16;
103 } xXTestFakeInputReq;
104 #define sz_xXTestFakeInputReq 36
107 CARD8 reqType; /* always XTestReqCode */
108 CARD8 xtReqType; /* always X_XTestGrabControl */
114 } xXTestGrabControlReq;
115 #define sz_xXTestGrabControlReq 8
121 #endif /* _XTESTSTR_H_ */