1 | /************************************************************
|
---|
2 |
|
---|
3 | Copyright 1996 by Thomas E. Dickey <[email protected]>
|
---|
4 |
|
---|
5 | All Rights Reserved
|
---|
6 |
|
---|
7 | Permission to use, copy, modify, and distribute this software and its
|
---|
8 | documentation for any purpose and without fee is hereby granted,
|
---|
9 | provided that the above copyright notice appear in all copies and that
|
---|
10 | both that copyright notice and this permission notice appear in
|
---|
11 | supporting documentation, and that the name of the above listed
|
---|
12 | copyright holder(s) not be used in advertising or publicity pertaining
|
---|
13 | to distribution of the software without specific, written prior
|
---|
14 | permission.
|
---|
15 |
|
---|
16 | THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD
|
---|
17 | TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
---|
18 | AND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE
|
---|
19 | LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
---|
20 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
---|
21 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
---|
22 | OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
---|
23 |
|
---|
24 | ********************************************************/
|
---|
25 |
|
---|
26 | #ifndef DIXEVENTS_H
|
---|
27 | #define DIXEVENTS_H
|
---|
28 |
|
---|
29 | extern _X_EXPORT void SetCriticalEvent(int /* event */ );
|
---|
30 |
|
---|
31 | extern _X_EXPORT CursorPtr GetSpriteCursor(DeviceIntPtr /*pDev */ );
|
---|
32 |
|
---|
33 | extern _X_EXPORT int ProcAllowEvents(ClientPtr /* client */ );
|
---|
34 |
|
---|
35 | extern _X_EXPORT int MaybeDeliverEventsToClient(WindowPtr /* pWin */ ,
|
---|
36 | xEvent * /* pEvents */ ,
|
---|
37 | int /* count */ ,
|
---|
38 | Mask /* filter */ ,
|
---|
39 | ClientPtr /* dontClient */ );
|
---|
40 |
|
---|
41 | extern _X_EXPORT int ProcWarpPointer(ClientPtr /* client */ );
|
---|
42 |
|
---|
43 | extern _X_EXPORT int EventSelectForWindow(WindowPtr /* pWin */ ,
|
---|
44 | ClientPtr /* client */ ,
|
---|
45 | Mask /* mask */ );
|
---|
46 |
|
---|
47 | extern _X_EXPORT int EventSuppressForWindow(WindowPtr /* pWin */ ,
|
---|
48 | ClientPtr /* client */ ,
|
---|
49 | Mask /* mask */ ,
|
---|
50 | Bool * /* checkOptional */ );
|
---|
51 |
|
---|
52 | extern _X_EXPORT int ProcSetInputFocus(ClientPtr /* client */ );
|
---|
53 |
|
---|
54 | extern _X_EXPORT int ProcGetInputFocus(ClientPtr /* client */ );
|
---|
55 |
|
---|
56 | extern _X_EXPORT int ProcGrabPointer(ClientPtr /* client */ );
|
---|
57 |
|
---|
58 | extern _X_EXPORT int ProcChangeActivePointerGrab(ClientPtr /* client */ );
|
---|
59 |
|
---|
60 | extern _X_EXPORT int ProcUngrabPointer(ClientPtr /* client */ );
|
---|
61 |
|
---|
62 | extern _X_EXPORT int ProcGrabKeyboard(ClientPtr /* client */ );
|
---|
63 |
|
---|
64 | extern _X_EXPORT int ProcUngrabKeyboard(ClientPtr /* client */ );
|
---|
65 |
|
---|
66 | extern _X_EXPORT int ProcQueryPointer(ClientPtr /* client */ );
|
---|
67 |
|
---|
68 | extern _X_EXPORT int ProcSendEvent(ClientPtr /* client */ );
|
---|
69 |
|
---|
70 | extern _X_EXPORT int ProcUngrabKey(ClientPtr /* client */ );
|
---|
71 |
|
---|
72 | extern _X_EXPORT int ProcGrabKey(ClientPtr /* client */ );
|
---|
73 |
|
---|
74 | extern _X_EXPORT int ProcGrabButton(ClientPtr /* client */ );
|
---|
75 |
|
---|
76 | extern _X_EXPORT int ProcUngrabButton(ClientPtr /* client */ );
|
---|
77 |
|
---|
78 | extern _X_EXPORT int ProcRecolorCursor(ClientPtr /* client */ );
|
---|
79 |
|
---|
80 | #endif /* DIXEVENTS_H */
|
---|