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