VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.12.0/dixgrabs.h@ 86603

Last change on this file since 86603 was 40349, checked in by vboxsync, 13 years ago

Additions/xorg: support X.Org Server 1.12.

  • Property svn:eol-style set to native
File size: 2.3 KB
Line 
1/************************************************************
2
3Copyright 1996 by Thomas E. Dickey <[email protected]>
4
5 All Rights Reserved
6
7Permission to use, copy, modify, and distribute this software and its
8documentation for any purpose and without fee is hereby granted,
9provided that the above copyright notice appear in all copies and that
10both that copyright notice and this permission notice appear in
11supporting documentation, and that the name of the above listed
12copyright holder(s) not be used in advertising or publicity pertaining
13to distribution of the software without specific, written prior
14permission.
15
16THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD
17TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
18AND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE
19LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
20WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
21ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
22OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
23
24********************************************************/
25
26#ifndef DIXGRABS_H
27#define DIXGRABS_H 1
28
29struct _GrabParameters;
30
31extern void PrintDeviceGrabInfo(DeviceIntPtr dev);
32extern void UngrabAllDevices(Bool kill_client);
33
34extern GrabPtr AllocGrab(void);
35extern void FreeGrab(GrabPtr grab);
36extern Bool CopyGrab(GrabPtr dst, const GrabPtr src);
37
38extern GrabPtr CreateGrab(
39 int /* client */,
40 DeviceIntPtr /* device */,
41 DeviceIntPtr /* modDevice */,
42 WindowPtr /* window */,
43 enum InputLevel /* grabtype */,
44 GrabMask * /* mask */,
45 struct _GrabParameters * /* param */,
46 int /* type */,
47 KeyCode /* keybut */,
48 WindowPtr /* confineTo */,
49 CursorPtr /* cursor */);
50
51extern _X_EXPORT int DeletePassiveGrab(
52 pointer /* value */,
53 XID /* id */);
54
55extern _X_EXPORT Bool GrabMatchesSecond(
56 GrabPtr /* pFirstGrab */,
57 GrabPtr /* pSecondGrab */,
58 Bool /*ignoreDevice*/);
59
60extern _X_EXPORT int AddPassiveGrabToList(
61 ClientPtr /* client */,
62 GrabPtr /* pGrab */);
63
64extern _X_EXPORT Bool DeletePassiveGrabFromList(
65 GrabPtr /* pMinuendGrab */);
66
67extern Bool GrabIsPointerGrab(GrabPtr grab);
68extern Bool GrabIsKeyboardGrab(GrabPtr grab);
69#endif /* DIXGRABS_H */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette