1 | /************************************************************
|
---|
2 |
|
---|
3 | Copyright 1996 by Thomas E. Dickey <dickey@clark.net>
|
---|
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 | /*****************************************************************
|
---|
27 | *
|
---|
28 | * Globals referenced elsewhere in the server.
|
---|
29 | *
|
---|
30 | */
|
---|
31 | #ifdef HAVE_DIX_CONFIG_H
|
---|
32 | #include <dix-config.h>
|
---|
33 | #endif
|
---|
34 | #include "privates.h"
|
---|
35 |
|
---|
36 | #ifndef EXGLOBALS_H
|
---|
37 | #define EXGLOBALS_H 1
|
---|
38 |
|
---|
39 | extern int IReqCode;
|
---|
40 | extern int IEventBase;
|
---|
41 | extern int BadDevice;
|
---|
42 | extern int BadMode;
|
---|
43 | extern int DeviceBusy;
|
---|
44 | extern int BadClass;
|
---|
45 |
|
---|
46 | /* Note: only the ones needed in files other than extinit.c are declared */
|
---|
47 | extern const Mask DevicePointerMotionMask;
|
---|
48 | extern const Mask DevicePointerMotionHintMask;
|
---|
49 | extern const Mask DeviceFocusChangeMask;
|
---|
50 | extern const Mask DeviceStateNotifyMask;
|
---|
51 | extern const Mask DeviceMappingNotifyMask;
|
---|
52 | extern const Mask DeviceOwnerGrabButtonMask;
|
---|
53 | extern const Mask DeviceButtonGrabMask;
|
---|
54 | extern const Mask DeviceButtonMotionMask;
|
---|
55 | extern const Mask DevicePresenceNotifyMask;
|
---|
56 | extern const Mask DevicePropertyNotifyMask;
|
---|
57 | extern const Mask XIAllMasks;
|
---|
58 |
|
---|
59 | extern Mask PropagateMask[];
|
---|
60 |
|
---|
61 | extern int DeviceValuator;
|
---|
62 | extern int DeviceKeyPress;
|
---|
63 | extern int DeviceKeyRelease;
|
---|
64 | extern int DeviceButtonPress;
|
---|
65 | extern int DeviceButtonRelease;
|
---|
66 | extern int DeviceMotionNotify;
|
---|
67 | extern int DeviceFocusIn;
|
---|
68 | extern int DeviceFocusOut;
|
---|
69 | extern int ProximityIn;
|
---|
70 | extern int ProximityOut;
|
---|
71 | extern int DeviceStateNotify;
|
---|
72 | extern int DeviceKeyStateNotify;
|
---|
73 | extern int DeviceButtonStateNotify;
|
---|
74 | extern int DeviceMappingNotify;
|
---|
75 | extern int ChangeDeviceNotify;
|
---|
76 | extern int DevicePresenceNotify;
|
---|
77 | extern int DevicePropertyNotify;
|
---|
78 |
|
---|
79 | extern int RT_INPUTCLIENT;
|
---|
80 |
|
---|
81 | extern DevPrivateKeyRec XIClientPrivateKeyRec;
|
---|
82 | #define XIClientPrivateKey (&XIClientPrivateKeyRec)
|
---|
83 |
|
---|
84 | #endif /* EXGLOBALS_H */
|
---|