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