1 | /************************************************************
|
---|
2 |
|
---|
3 | Copyright 1996 by Thomas E. Dickey <dickey@clark.net>
|
---|
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(
|
---|
36 | WindowPtr /* pWin */,
|
---|
37 | xEvent * /* pEvents */,
|
---|
38 | int /* count */,
|
---|
39 | Mask /* filter */,
|
---|
40 | ClientPtr /* dontClient */);
|
---|
41 |
|
---|
42 | extern _X_EXPORT int ProcWarpPointer(ClientPtr /* client */);
|
---|
43 |
|
---|
44 | extern _X_EXPORT int EventSelectForWindow(
|
---|
45 | WindowPtr /* pWin */,
|
---|
46 | ClientPtr /* client */,
|
---|
47 | Mask /* mask */);
|
---|
48 |
|
---|
49 | extern _X_EXPORT int EventSuppressForWindow(
|
---|
50 | WindowPtr /* pWin */,
|
---|
51 | ClientPtr /* client */,
|
---|
52 | Mask /* mask */,
|
---|
53 | Bool * /* checkOptional */);
|
---|
54 |
|
---|
55 | extern _X_EXPORT int ProcSetInputFocus(ClientPtr /* client */);
|
---|
56 |
|
---|
57 | extern _X_EXPORT int ProcGetInputFocus(ClientPtr /* client */);
|
---|
58 |
|
---|
59 | extern _X_EXPORT int ProcGrabPointer(ClientPtr /* client */);
|
---|
60 |
|
---|
61 | extern _X_EXPORT int ProcChangeActivePointerGrab(ClientPtr /* client */);
|
---|
62 |
|
---|
63 | extern _X_EXPORT int ProcUngrabPointer(ClientPtr /* client */);
|
---|
64 |
|
---|
65 | extern _X_EXPORT int ProcGrabKeyboard(ClientPtr /* client */);
|
---|
66 |
|
---|
67 | extern _X_EXPORT int ProcUngrabKeyboard(ClientPtr /* client */);
|
---|
68 |
|
---|
69 | extern _X_EXPORT int ProcQueryPointer(ClientPtr /* client */);
|
---|
70 |
|
---|
71 | extern _X_EXPORT int ProcSendEvent(ClientPtr /* client */);
|
---|
72 |
|
---|
73 | extern _X_EXPORT int ProcUngrabKey(ClientPtr /* client */);
|
---|
74 |
|
---|
75 | extern _X_EXPORT int ProcGrabKey(ClientPtr /* client */);
|
---|
76 |
|
---|
77 | extern _X_EXPORT int ProcGrabButton(ClientPtr /* client */);
|
---|
78 |
|
---|
79 | extern _X_EXPORT int ProcUngrabButton(ClientPtr /* client */);
|
---|
80 |
|
---|
81 | extern _X_EXPORT int ProcRecolorCursor(ClientPtr /* client */);
|
---|
82 |
|
---|
83 | #ifdef PANORAMIX
|
---|
84 | extern _X_EXPORT void PostSyntheticMotion(DeviceIntPtr pDev,
|
---|
85 | int x,
|
---|
86 | int y,
|
---|
87 | int screen,
|
---|
88 | unsigned long time);
|
---|
89 | #endif
|
---|
90 |
|
---|
91 | #endif /* DIXEVENTS_H */
|
---|