VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.1.0/exevents.h@ 99743

Last change on this file since 99743 was 51223, checked in by vboxsync, 11 years ago

Additions/x11/x11include: added header files for X.Org Server 1.0 and 1.1.

  • Property svn:eol-style set to native
File size: 6.1 KB
Line 
1/* $XFree86: xc/programs/Xserver/include/exevents.h,v 3.1 1996/04/15 11:34:29 dawes Exp $ */
2/************************************************************
3
4Copyright 1996 by Thomas E. Dickey <[email protected]>
5
6 All Rights Reserved
7
8Permission to use, copy, modify, and distribute this software and its
9documentation for any purpose and without fee is hereby granted,
10provided that the above copyright notice appear in all copies and that
11both that copyright notice and this permission notice appear in
12supporting documentation, and that the name of the above listed
13copyright holder(s) not be used in advertising or publicity pertaining
14to distribution of the software without specific, written prior
15permission.
16
17THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD
18TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
19AND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE
20LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
21WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
22ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
23OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
24
25********************************************************/
26
27/********************************************************************
28 * Interface of 'exevents.c'
29 */
30
31#ifndef EXEVENTS_H
32#define EXEVENTS_H
33
34extern void RegisterOtherDevice (
35 DeviceIntPtr /* device */);
36
37extern void ProcessOtherEvent (
38 xEventPtr /* FIXME deviceKeyButtonPointer * xE */,
39 DeviceIntPtr /* other */,
40 int /* count */);
41
42extern int InitProximityClassDeviceStruct(
43 DeviceIntPtr /* dev */);
44
45extern void InitValuatorAxisStruct(
46 DeviceIntPtr /* dev */,
47 int /* axnum */,
48 int /* minval */,
49 int /* maxval */,
50 int /* resolution */,
51 int /* min_res */,
52 int /* max_res */);
53
54extern void DeviceFocusEvent(
55 DeviceIntPtr /* dev */,
56 int /* type */,
57 int /* mode */,
58 int /* detail */,
59 WindowPtr /* pWin */);
60
61extern int GrabButton(
62 ClientPtr /* client */,
63 DeviceIntPtr /* dev */,
64 BYTE /* this_device_mode */,
65 BYTE /* other_devices_mode */,
66 CARD16 /* modifiers */,
67 DeviceIntPtr /* modifier_device */,
68 CARD8 /* button */,
69 Window /* grabWindow */,
70 BOOL /* ownerEvents */,
71 Cursor /* rcursor */,
72 Window /* rconfineTo */,
73 Mask /* eventMask */);
74
75extern int GrabKey(
76 ClientPtr /* client */,
77 DeviceIntPtr /* dev */,
78 BYTE /* this_device_mode */,
79 BYTE /* other_devices_mode */,
80 CARD16 /* modifiers */,
81 DeviceIntPtr /* modifier_device */,
82 CARD8 /* key */,
83 Window /* grabWindow */,
84 BOOL /* ownerEvents */,
85 Mask /* mask */);
86
87extern int SelectForWindow(
88 DeviceIntPtr /* dev */,
89 WindowPtr /* pWin */,
90 ClientPtr /* client */,
91 Mask /* mask */,
92 Mask /* exclusivemasks */,
93 Mask /* validmasks */);
94
95extern int AddExtensionClient (
96 WindowPtr /* pWin */,
97 ClientPtr /* client */,
98 Mask /* mask */,
99 int /* mskidx */);
100
101extern void RecalculateDeviceDeliverableEvents(
102 WindowPtr /* pWin */);
103
104extern int InputClientGone(
105 WindowPtr /* pWin */,
106 XID /* id */);
107
108extern int SendEvent (
109 ClientPtr /* client */,
110 DeviceIntPtr /* d */,
111 Window /* dest */,
112 Bool /* propagate */,
113 xEvent * /* ev */,
114 Mask /* mask */,
115 int /* count */);
116
117extern int SetButtonMapping (
118 ClientPtr /* client */,
119 DeviceIntPtr /* dev */,
120 int /* nElts */,
121 BYTE * /* map */);
122
123extern int SetModifierMapping(
124 ClientPtr /* client */,
125 DeviceIntPtr /* dev */,
126 int /* len */,
127 int /* rlen */,
128 int /* numKeyPerModifier */,
129 KeyCode * /* inputMap */,
130 KeyClassPtr * /* k */);
131
132extern void SendDeviceMappingNotify(
133 CARD8 /* request, */,
134 KeyCode /* firstKeyCode */,
135 CARD8 /* count */,
136 DeviceIntPtr /* dev */);
137
138extern int ChangeKeyMapping(
139 ClientPtr /* client */,
140 DeviceIntPtr /* dev */,
141 unsigned /* len */,
142 int /* type */,
143 KeyCode /* firstKeyCode */,
144 CARD8 /* keyCodes */,
145 CARD8 /* keySymsPerKeyCode */,
146 KeySym * /* map */);
147
148extern void DeleteWindowFromAnyExtEvents(
149 WindowPtr /* pWin */,
150 Bool /* freeResources */);
151
152extern void DeleteDeviceFromAnyExtEvents(
153 WindowPtr /* pWin */,
154 DeviceIntPtr /* dev */);
155
156extern int MaybeSendDeviceMotionNotifyHint (
157 deviceKeyButtonPointer * /* pEvents */,
158 Mask /* mask */);
159
160extern void CheckDeviceGrabAndHintWindow (
161 WindowPtr /* pWin */,
162 int /* type */,
163 deviceKeyButtonPointer * /* xE */,
164 GrabPtr /* grab */,
165 ClientPtr /* client */,
166 Mask /* deliveryMask */);
167
168extern Mask DeviceEventMaskForClient(
169 DeviceIntPtr /* dev */,
170 WindowPtr /* pWin */,
171 ClientPtr /* client */);
172
173extern void MaybeStopDeviceHint(
174 DeviceIntPtr /* dev */,
175 ClientPtr /* client */);
176
177extern int DeviceEventSuppressForWindow(
178 WindowPtr /* pWin */,
179 ClientPtr /* client */,
180 Mask /* mask */,
181 int /* maskndx */);
182
183#endif /* EXEVENTS_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