1 | /* $XFree86: xc/programs/Xserver/include/dixgrabs.h,v 3.0 1996/04/15 11:34:27 dawes Exp $ */
|
---|
2 | /************************************************************
|
---|
3 |
|
---|
4 | Copyright 1996 by Thomas E. Dickey <[email protected]>
|
---|
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 DIXGRABS_H
|
---|
28 | #define DIXGRABS_H 1
|
---|
29 |
|
---|
30 | GrabPtr
|
---|
31 | CreateGrab(
|
---|
32 | #if NeedFunctionPrototypes
|
---|
33 | int /* client */,
|
---|
34 | DeviceIntPtr /* device */,
|
---|
35 | WindowPtr /* window */,
|
---|
36 | Mask /* eventMask */,
|
---|
37 | Bool /* ownerEvents */,
|
---|
38 | Bool /* keyboardMode */,
|
---|
39 | Bool /* pointerMode */,
|
---|
40 | DeviceIntPtr /* modDevice */,
|
---|
41 | unsigned short /* modifiers */,
|
---|
42 | int /* type */,
|
---|
43 | KeyCode /* keybut */,
|
---|
44 | WindowPtr /* confineTo */,
|
---|
45 | CursorPtr /* cursor */
|
---|
46 | #endif
|
---|
47 | );
|
---|
48 |
|
---|
49 | int
|
---|
50 | DeletePassiveGrab(
|
---|
51 | #if NeedFunctionPrototypes
|
---|
52 | pointer /* value */,
|
---|
53 | XID /* id */
|
---|
54 | #endif
|
---|
55 | );
|
---|
56 |
|
---|
57 | Bool
|
---|
58 | GrabMatchesSecond(
|
---|
59 | #if NeedFunctionPrototypes
|
---|
60 | GrabPtr /* pFirstGrab */,
|
---|
61 | GrabPtr /* pSecondGrab */
|
---|
62 | #endif
|
---|
63 | );
|
---|
64 |
|
---|
65 | int
|
---|
66 | AddPassiveGrabToList(
|
---|
67 | #if NeedFunctionPrototypes
|
---|
68 | GrabPtr /* pGrab */
|
---|
69 | #endif
|
---|
70 | );
|
---|
71 |
|
---|
72 | Bool
|
---|
73 | DeletePassiveGrabFromList(
|
---|
74 | #if NeedFunctionPrototypes
|
---|
75 | GrabPtr /* pMinuendGrab */
|
---|
76 | #endif
|
---|
77 | );
|
---|
78 |
|
---|
79 | #endif /* DIXGRABS_H */
|
---|