VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.12.0/xfixesint.h@ 78293

Last change on this file since 78293 was 40349, checked in by vboxsync, 13 years ago

Additions/xorg: support X.Org Server 1.12.

  • Property svn:eol-style set to native
File size: 7.0 KB
Line 
1/*
2 * Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved.
3 * Copyright 2010 Red Hat, Inc.
4 *
5 * Permission is hereby granted, free of charge, to any person obtaining a
6 * copy of this software and associated documentation files (the "Software"),
7 * to deal in the Software without restriction, including without limitation
8 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
9 * and/or sell copies of the Software, and to permit persons to whom the
10 * Software is furnished to do so, subject to the following conditions:
11 *
12 * The above copyright notice and this permission notice (including the next
13 * paragraph) shall be included in all copies or substantial portions of the
14 * Software.
15 *
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
19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 * DEALINGS IN THE SOFTWARE.
23 *
24 * Copyright © 2002 Keith Packard
25 *
26 * Permission to use, copy, modify, distribute, and sell this software and its
27 * documentation for any purpose is hereby granted without fee, provided that
28 * the above copyright notice appear in all copies and that both that
29 * copyright notice and this permission notice appear in supporting
30 * documentation, and that the name of Keith Packard not be used in
31 * advertising or publicity pertaining to distribution of the software without
32 * specific, written prior permission. Keith Packard makes no
33 * representations about the suitability of this software for any purpose. It
34 * is provided "as is" without express or implied warranty.
35 *
36 * KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
37 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
38 * EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
39 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
40 * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
41 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
42 * PERFORMANCE OF THIS SOFTWARE.
43 */
44
45#ifdef HAVE_DIX_CONFIG_H
46#include <dix-config.h>
47#endif
48
49#ifndef _XFIXESINT_H_
50#define _XFIXESINT_H_
51
52#include <X11/X.h>
53#include <X11/Xproto.h>
54#include "misc.h"
55#include "os.h"
56#include "dixstruct.h"
57#include "extnsionst.h"
58#include <X11/extensions/xfixesproto.h>
59#include "windowstr.h"
60#include "selection.h"
61#include "xfixes.h"
62
63extern int XFixesEventBase;
64
65typedef struct _XFixesClient {
66 CARD32 major_version;
67 CARD32 minor_version;
68} XFixesClientRec, *XFixesClientPtr;
69
70#define GetXFixesClient(pClient) ((XFixesClientPtr)dixLookupPrivate(&(pClient)->devPrivates, XFixesClientPrivateKey))
71
72extern int (*ProcXFixesVector[XFixesNumberRequests])(ClientPtr);
73
74/* Initialize extension at server startup time */
75
76void
77XFixesExtensionInit(void);
78
79/* Save set */
80int
81ProcXFixesChangeSaveSet(ClientPtr client);
82
83int
84SProcXFixesChangeSaveSet(ClientPtr client);
85
86/* Selection events */
87int
88ProcXFixesSelectSelectionInput (ClientPtr client);
89
90int
91SProcXFixesSelectSelectionInput (ClientPtr client);
92
93void
94SXFixesSelectionNotifyEvent (xXFixesSelectionNotifyEvent *from,
95 xXFixesSelectionNotifyEvent *to);
96Bool
97XFixesSelectionInit (void);
98
99/* Cursor notification */
100Bool
101XFixesCursorInit (void);
102
103int
104ProcXFixesSelectCursorInput (ClientPtr client);
105
106int
107SProcXFixesSelectCursorInput (ClientPtr client);
108
109void
110SXFixesCursorNotifyEvent (xXFixesCursorNotifyEvent *from,
111 xXFixesCursorNotifyEvent *to);
112
113int
114ProcXFixesGetCursorImage (ClientPtr client);
115
116int
117SProcXFixesGetCursorImage (ClientPtr client);
118
119/* Cursor names (Version 2) */
120
121int
122ProcXFixesSetCursorName (ClientPtr client);
123
124int
125SProcXFixesSetCursorName (ClientPtr client);
126
127int
128ProcXFixesGetCursorName (ClientPtr client);
129
130int
131SProcXFixesGetCursorName (ClientPtr client);
132
133int
134ProcXFixesGetCursorImageAndName (ClientPtr client);
135
136int
137SProcXFixesGetCursorImageAndName (ClientPtr client);
138
139/* Cursor replacement (Version 2) */
140
141int
142ProcXFixesChangeCursor (ClientPtr client);
143
144int
145SProcXFixesChangeCursor (ClientPtr client);
146
147int
148ProcXFixesChangeCursorByName (ClientPtr client);
149
150int
151SProcXFixesChangeCursorByName (ClientPtr client);
152
153/* Region objects (Version 2* */
154Bool
155XFixesRegionInit (void);
156
157int
158ProcXFixesCreateRegion (ClientPtr client);
159
160int
161SProcXFixesCreateRegion (ClientPtr client);
162
163int
164ProcXFixesCreateRegionFromBitmap (ClientPtr client);
165
166int
167SProcXFixesCreateRegionFromBitmap (ClientPtr client);
168
169int
170ProcXFixesCreateRegionFromWindow (ClientPtr client);
171
172int
173SProcXFixesCreateRegionFromWindow (ClientPtr client);
174
175int
176ProcXFixesCreateRegionFromGC (ClientPtr client);
177
178int
179SProcXFixesCreateRegionFromGC (ClientPtr client);
180
181int
182ProcXFixesCreateRegionFromPicture (ClientPtr client);
183
184int
185SProcXFixesCreateRegionFromPicture (ClientPtr client);
186
187int
188ProcXFixesDestroyRegion (ClientPtr client);
189
190int
191SProcXFixesDestroyRegion (ClientPtr client);
192
193int
194ProcXFixesSetRegion (ClientPtr client);
195
196int
197SProcXFixesSetRegion (ClientPtr client);
198
199int
200ProcXFixesCopyRegion (ClientPtr client);
201
202int
203SProcXFixesCopyRegion (ClientPtr client);
204
205int
206ProcXFixesCombineRegion (ClientPtr client);
207
208int
209SProcXFixesCombineRegion (ClientPtr client);
210
211int
212ProcXFixesInvertRegion (ClientPtr client);
213
214int
215SProcXFixesInvertRegion (ClientPtr client);
216
217int
218ProcXFixesTranslateRegion (ClientPtr client);
219
220int
221SProcXFixesTranslateRegion (ClientPtr client);
222
223int
224ProcXFixesRegionExtents (ClientPtr client);
225
226int
227SProcXFixesRegionExtents (ClientPtr client);
228
229int
230ProcXFixesFetchRegion (ClientPtr client);
231
232int
233SProcXFixesFetchRegion (ClientPtr client);
234
235int
236ProcXFixesSetGCClipRegion (ClientPtr client);
237
238int
239SProcXFixesSetGCClipRegion (ClientPtr client);
240
241int
242ProcXFixesSetWindowShapeRegion (ClientPtr client);
243
244int
245SProcXFixesSetWindowShapeRegion (ClientPtr client);
246
247int
248ProcXFixesSetPictureClipRegion (ClientPtr client);
249
250int
251SProcXFixesSetPictureClipRegion (ClientPtr client);
252
253int
254ProcXFixesExpandRegion (ClientPtr client);
255
256int
257SProcXFixesExpandRegion (ClientPtr client);
258
259int
260PanoramiXFixesSetGCClipRegion (ClientPtr client);
261
262int
263PanoramiXFixesSetWindowShapeRegion (ClientPtr client);
264
265int
266PanoramiXFixesSetPictureClipRegion (ClientPtr client);
267
268/* Cursor Visibility (Version 4) */
269
270int
271ProcXFixesHideCursor (ClientPtr client);
272
273int
274SProcXFixesHideCursor (ClientPtr client);
275
276int
277ProcXFixesShowCursor (ClientPtr client);
278
279int
280SProcXFixesShowCursor (ClientPtr client);
281
282/* Version 5 */
283
284int
285ProcXFixesCreatePointerBarrier (ClientPtr client);
286
287int
288SProcXFixesCreatePointerBarrier (ClientPtr client);
289
290int
291ProcXFixesDestroyPointerBarrier (ClientPtr client);
292
293int
294SProcXFixesDestroyPointerBarrier (ClientPtr client);
295
296/* Xinerama */
297extern int (*PanoramiXSaveXFixesVector[XFixesNumberRequests])(ClientPtr);
298void PanoramiXFixesInit (void);
299void PanoramiXFixesReset (void);
300
301#endif /* _XFIXESINT_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