VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/XFree86-4.3/Xserver/dixevents.h@ 78293

Last change on this file since 78293 was 69098, checked in by vboxsync, 7 years ago

Clean up XFree86 driver header files.
bugref:3810: X11 Guest Additions maintenance
Over the years we have cleaned up the layout in the tree of the X.Org
header files we use to build drivers. The XFree86 ones were still in their
original, rather sub-optimal layout. This change fixes that.

  • Property svn:eol-style set to native
File size: 4.3 KB
Line 
1/* $XFree86: xc/programs/Xserver/include/dixevents.h,v 3.4 2001/09/04 14:03:27 dawes Exp $ */
2/************************************************************
3
4Copyright 1996 by Thomas E. Dickey <[email protected]>
5
6 All Rights Reserved
7
8Permission to use, copy, modify, and distribute this software and its
9documentation for any purpose and without fee is hereby granted,
10provided that the above copyright notice appear in all copies and that
11both that copyright notice and this permission notice appear in
12supporting documentation, and that the name of the above listed
13copyright holder(s) not be used in advertising or publicity pertaining
14to distribution of the software without specific, written prior
15permission.
16
17THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD
18TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
19AND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE
20LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
21WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
22ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
23OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
24
25********************************************************/
26
27#ifndef DIXEVENTS_H
28#define DIXEVENTS_H
29
30extern void
31SetCriticalEvent(
32#if NeedFunctionPrototypes
33 int /* event */
34#endif
35 );
36
37extern CursorPtr
38GetSpriteCursor(
39#if NeedFunctionPrototypes
40 void
41#endif
42 );
43
44extern int
45ProcAllowEvents(
46#if NeedFunctionPrototypes
47 ClientPtr /* client */
48#endif
49 );
50
51extern int
52MaybeDeliverEventsToClient(
53#if NeedFunctionPrototypes
54 WindowPtr /* pWin */,
55 xEvent * /* pEvents */,
56 int /* count */,
57 Mask /* filter */,
58 ClientPtr /* dontClient */
59#endif
60 );
61
62extern int
63ProcWarpPointer(
64#if NeedFunctionPrototypes
65 ClientPtr /* client */
66#endif
67 );
68
69#if 0
70extern void
71#ifdef XKB
72CoreProcessKeyboardEvent (
73#else
74ProcessKeyboardEvent (
75#endif
76#if NeedFunctionPrototypes
77 xEvent * /* xE */,
78 DeviceIntPtr /* keybd */,
79 int /* count */
80#endif
81 );
82
83extern void
84#ifdef XKB
85CoreProcessPointerEvent (
86#else
87ProcessPointerEvent (
88#endif
89#if NeedFunctionPrototypes
90 xEvent * /* xE */,
91 DeviceIntPtr /* mouse */,
92 int /* count */
93#endif
94 );
95#endif
96
97extern int
98EventSelectForWindow(
99#if NeedFunctionPrototypes
100 WindowPtr /* pWin */,
101 ClientPtr /* client */,
102 Mask /* mask */
103#endif
104 );
105
106extern int
107EventSuppressForWindow(
108#if NeedFunctionPrototypes
109 WindowPtr /* pWin */,
110 ClientPtr /* client */,
111 Mask /* mask */,
112 Bool * /* checkOptional */
113#endif
114 );
115
116extern int
117ProcSetInputFocus(
118#if NeedFunctionPrototypes
119 ClientPtr /* client */
120#endif
121 );
122
123extern int
124ProcGetInputFocus(
125#if NeedFunctionPrototypes
126 ClientPtr /* client */
127#endif
128 );
129
130extern int
131ProcGrabPointer(
132#if NeedFunctionPrototypes
133 ClientPtr /* client */
134#endif
135 );
136
137extern int
138ProcChangeActivePointerGrab(
139#if NeedFunctionPrototypes
140 ClientPtr /* client */
141#endif
142 );
143
144extern int
145ProcUngrabPointer(
146#if NeedFunctionPrototypes
147 ClientPtr /* client */
148#endif
149 );
150
151extern int
152ProcGrabKeyboard(
153#if NeedFunctionPrototypes
154 ClientPtr /* client */
155#endif
156 );
157
158extern int
159ProcUngrabKeyboard(
160#if NeedFunctionPrototypes
161 ClientPtr /* client */
162#endif
163 );
164
165extern int
166ProcQueryPointer(
167#if NeedFunctionPrototypes
168 ClientPtr /* client */
169#endif
170 );
171
172extern int
173ProcSendEvent(
174#if NeedFunctionPrototypes
175 ClientPtr /* client */
176#endif
177 );
178
179extern int
180ProcUngrabKey(
181#if NeedFunctionPrototypes
182 ClientPtr /* client */
183#endif
184 );
185
186extern int
187ProcGrabKey(
188#if NeedFunctionPrototypes
189 ClientPtr /* client */
190#endif
191 );
192
193extern int
194ProcGrabButton(
195#if NeedFunctionPrototypes
196 ClientPtr /* client */
197#endif
198 );
199
200extern int
201ProcUngrabButton(
202#if NeedFunctionPrototypes
203 ClientPtr /* client */
204#endif
205 );
206
207extern int
208ProcRecolorCursor(
209#if NeedFunctionPrototypes
210 ClientPtr /* client */
211#endif
212 );
213
214#endif /* DIXEVENTS_H */
Note: See TracBrowser for help on using the repository browser.

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