1 |
|
---|
2 | #ifndef _XSERV_GLOBAL_H_
|
---|
3 | #define _XSERV_GLOBAL_H_
|
---|
4 |
|
---|
5 | #include "window.h" /* for WindowPtr */
|
---|
6 |
|
---|
7 | /* Global X server variables that are visible to mi, dix, os, and ddx */
|
---|
8 |
|
---|
9 | extern _X_EXPORT CARD32 defaultScreenSaverTime;
|
---|
10 | extern _X_EXPORT CARD32 defaultScreenSaverInterval;
|
---|
11 | extern _X_EXPORT CARD32 ScreenSaverTime;
|
---|
12 | extern _X_EXPORT CARD32 ScreenSaverInterval;
|
---|
13 |
|
---|
14 | #ifdef SCREENSAVER
|
---|
15 | extern _X_EXPORT Bool screenSaverSuspended;
|
---|
16 | #endif
|
---|
17 |
|
---|
18 | extern _X_EXPORT char *defaultFontPath;
|
---|
19 | extern _X_EXPORT int monitorResolution;
|
---|
20 | extern _X_EXPORT int defaultColorVisualClass;
|
---|
21 |
|
---|
22 | extern _X_EXPORT int GrabInProgress;
|
---|
23 | extern _X_EXPORT Bool noTestExtensions;
|
---|
24 |
|
---|
25 | extern _X_EXPORT char *ConnectionInfo;
|
---|
26 |
|
---|
27 | #ifdef DPMSExtension
|
---|
28 | extern _X_EXPORT CARD32 DPMSStandbyTime;
|
---|
29 | extern _X_EXPORT CARD32 DPMSSuspendTime;
|
---|
30 | extern _X_EXPORT CARD32 DPMSOffTime;
|
---|
31 | extern _X_EXPORT CARD16 DPMSPowerLevel;
|
---|
32 | extern _X_EXPORT Bool DPMSEnabled;
|
---|
33 | extern _X_EXPORT Bool DPMSDisabledSwitch;
|
---|
34 | extern _X_EXPORT Bool DPMSCapableFlag;
|
---|
35 | #endif
|
---|
36 |
|
---|
37 | #ifdef PANORAMIX
|
---|
38 | extern _X_EXPORT Bool PanoramiXExtensionDisabledHack;
|
---|
39 | #endif
|
---|
40 |
|
---|
41 | #ifdef COMPOSITE
|
---|
42 | extern _X_EXPORT Bool noCompositeExtension;
|
---|
43 | #endif
|
---|
44 |
|
---|
45 | #ifdef DAMAGE
|
---|
46 | extern _X_EXPORT Bool noDamageExtension;
|
---|
47 | #endif
|
---|
48 |
|
---|
49 | #ifdef DBE
|
---|
50 | extern _X_EXPORT Bool noDbeExtension;
|
---|
51 | #endif
|
---|
52 |
|
---|
53 | #ifdef DPMSExtension
|
---|
54 | extern _X_EXPORT Bool noDPMSExtension;
|
---|
55 | #endif
|
---|
56 |
|
---|
57 | #ifdef GLXEXT
|
---|
58 | extern _X_EXPORT Bool noGlxExtension;
|
---|
59 | #endif
|
---|
60 |
|
---|
61 | #ifdef SCREENSAVER
|
---|
62 | extern _X_EXPORT Bool noScreenSaverExtension;
|
---|
63 | #endif
|
---|
64 |
|
---|
65 | #ifdef MITSHM
|
---|
66 | extern _X_EXPORT Bool noMITShmExtension;
|
---|
67 | #endif
|
---|
68 |
|
---|
69 | #ifdef RANDR
|
---|
70 | extern _X_EXPORT Bool noRRExtension;
|
---|
71 | #endif
|
---|
72 |
|
---|
73 | extern _X_EXPORT Bool noRenderExtension;
|
---|
74 |
|
---|
75 | #ifdef XCSECURITY
|
---|
76 | extern _X_EXPORT Bool noSecurityExtension;
|
---|
77 | #endif
|
---|
78 |
|
---|
79 | #ifdef RES
|
---|
80 | extern _X_EXPORT Bool noResExtension;
|
---|
81 | #endif
|
---|
82 |
|
---|
83 | #ifdef XF86BIGFONT
|
---|
84 | extern _X_EXPORT Bool noXFree86BigfontExtension;
|
---|
85 | #endif
|
---|
86 |
|
---|
87 | #ifdef XFreeXDGA
|
---|
88 | extern _X_EXPORT Bool noXFree86DGAExtension;
|
---|
89 | #endif
|
---|
90 |
|
---|
91 | #ifdef XF86DRI
|
---|
92 | extern _X_EXPORT Bool noXFree86DRIExtension;
|
---|
93 | #endif
|
---|
94 |
|
---|
95 | #ifdef XF86VIDMODE
|
---|
96 | extern _X_EXPORT Bool noXFree86VidModeExtension;
|
---|
97 | #endif
|
---|
98 |
|
---|
99 | #ifdef XFIXES
|
---|
100 | extern _X_EXPORT Bool noXFixesExtension;
|
---|
101 | #endif
|
---|
102 |
|
---|
103 | #ifdef PANORAMIX
|
---|
104 | extern _X_EXPORT Bool noPanoramiXExtension;
|
---|
105 | #endif
|
---|
106 |
|
---|
107 | #ifdef XSELINUX
|
---|
108 | extern _X_EXPORT Bool noSELinuxExtension;
|
---|
109 |
|
---|
110 | #define SELINUX_MODE_DEFAULT 0
|
---|
111 | #define SELINUX_MODE_DISABLED 1
|
---|
112 | #define SELINUX_MODE_PERMISSIVE 2
|
---|
113 | #define SELINUX_MODE_ENFORCING 3
|
---|
114 | extern _X_EXPORT int selinuxEnforcingState;
|
---|
115 | #endif
|
---|
116 |
|
---|
117 | #ifdef XV
|
---|
118 | extern _X_EXPORT Bool noXvExtension;
|
---|
119 | #endif
|
---|
120 |
|
---|
121 | #ifdef DRI2
|
---|
122 | extern _X_EXPORT Bool noDRI2Extension;
|
---|
123 | #endif
|
---|
124 |
|
---|
125 | #endif /* !_XSERV_GLOBAL_H_ */
|
---|