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 | extern GrabPtr CreateGrab(
|
---|
31 | int /* client */,
|
---|
32 | DeviceIntPtr /* device */,
|
---|
33 | WindowPtr /* window */,
|
---|
34 | Mask /* eventMask */,
|
---|
35 | Bool /* ownerEvents */,
|
---|
36 | Bool /* keyboardMode */,
|
---|
37 | Bool /* pointerMode */,
|
---|
38 | DeviceIntPtr /* modDevice */,
|
---|
39 | unsigned short /* modifiers */,
|
---|
40 | int /* type */,
|
---|
41 | KeyCode /* keybut */,
|
---|
42 | WindowPtr /* confineTo */,
|
---|
43 | CursorPtr /* cursor */);
|
---|
44 |
|
---|
45 | extern int DeletePassiveGrab(
|
---|
46 | pointer /* value */,
|
---|
47 | XID /* id */);
|
---|
48 |
|
---|
49 | extern Bool GrabMatchesSecond(
|
---|
50 | GrabPtr /* pFirstGrab */,
|
---|
51 | GrabPtr /* pSecondGrab */);
|
---|
52 |
|
---|
53 | extern int AddPassiveGrabToList(
|
---|
54 | GrabPtr /* pGrab */);
|
---|
55 |
|
---|
56 | extern Bool DeletePassiveGrabFromList(
|
---|
57 | GrabPtr /* pMinuendGrab */);
|
---|
58 |
|
---|
59 | #endif /* DIXGRABS_H */
|
---|