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 CARD32 defaultScreenSaverTime;
|
---|
10 | extern CARD32 defaultScreenSaverInterval;
|
---|
11 | extern CARD32 ScreenSaverTime;
|
---|
12 | extern CARD32 ScreenSaverInterval;
|
---|
13 |
|
---|
14 | #ifdef SCREENSAVER
|
---|
15 | extern Bool screenSaverSuspended;
|
---|
16 | #endif
|
---|
17 |
|
---|
18 | extern char *defaultFontPath;
|
---|
19 | extern char *rgbPath;
|
---|
20 | extern int monitorResolution;
|
---|
21 | extern Bool loadableFonts;
|
---|
22 | extern int defaultColorVisualClass;
|
---|
23 |
|
---|
24 | extern Bool Must_have_memory;
|
---|
25 | extern WindowPtr *WindowTable;
|
---|
26 | extern int GrabInProgress;
|
---|
27 | extern Bool noTestExtensions;
|
---|
28 |
|
---|
29 | extern DDXPointRec dixScreenOrigins[MAXSCREENS];
|
---|
30 |
|
---|
31 | #ifdef DPMSExtension
|
---|
32 | extern CARD32 defaultDPMSStandbyTime;
|
---|
33 | extern CARD32 defaultDPMSSuspendTime;
|
---|
34 | extern CARD32 defaultDPMSOffTime;
|
---|
35 | extern CARD32 DPMSStandbyTime;
|
---|
36 | extern CARD32 DPMSSuspendTime;
|
---|
37 | extern CARD32 DPMSOffTime;
|
---|
38 | extern CARD16 DPMSPowerLevel;
|
---|
39 | extern Bool defaultDPMSEnabled;
|
---|
40 | extern Bool DPMSEnabled;
|
---|
41 | extern Bool DPMSEnabledSwitch;
|
---|
42 | extern Bool DPMSDisabledSwitch;
|
---|
43 | extern Bool DPMSCapableFlag;
|
---|
44 | #endif
|
---|
45 |
|
---|
46 | #ifdef PANORAMIX
|
---|
47 | extern Bool PanoramiXExtensionDisabledHack;
|
---|
48 | #endif
|
---|
49 |
|
---|
50 | #ifdef BIGREQS
|
---|
51 | extern Bool noBigReqExtension;
|
---|
52 | #endif
|
---|
53 |
|
---|
54 | #ifdef COMPOSITE
|
---|
55 | extern Bool noCompositeExtension;
|
---|
56 | #endif
|
---|
57 |
|
---|
58 | #ifdef DAMAGE
|
---|
59 | extern Bool noDamageExtension;
|
---|
60 | #endif
|
---|
61 |
|
---|
62 | #ifdef DBE
|
---|
63 | extern Bool noDbeExtension;
|
---|
64 | #endif
|
---|
65 |
|
---|
66 | #ifdef DPMSExtension
|
---|
67 | extern Bool noDPMSExtension;
|
---|
68 | #endif
|
---|
69 |
|
---|
70 | #ifdef EVI
|
---|
71 | extern Bool noEVIExtension;
|
---|
72 | #endif
|
---|
73 |
|
---|
74 | #ifdef FONTCACHE
|
---|
75 | extern Bool noFontCacheExtension;
|
---|
76 | #endif
|
---|
77 |
|
---|
78 | #ifdef GLXEXT
|
---|
79 | extern Bool noGlxExtension;
|
---|
80 | #endif
|
---|
81 |
|
---|
82 | #ifdef SCREENSAVER
|
---|
83 | extern Bool noScreenSaverExtension;
|
---|
84 | #endif
|
---|
85 |
|
---|
86 | #ifdef MITSHM
|
---|
87 | extern Bool noMITShmExtension;
|
---|
88 | #endif
|
---|
89 |
|
---|
90 | #ifdef MITMISC
|
---|
91 | extern Bool noMITMiscExtension;
|
---|
92 | #endif
|
---|
93 |
|
---|
94 | #ifdef MULTIBUFFER
|
---|
95 | extern Bool noMultibufferExtension;
|
---|
96 | #endif
|
---|
97 |
|
---|
98 | #ifdef RANDR
|
---|
99 | extern Bool noRRExtension;
|
---|
100 | #endif
|
---|
101 |
|
---|
102 | #ifdef RENDER
|
---|
103 | extern Bool noRenderExtension;
|
---|
104 | #endif
|
---|
105 |
|
---|
106 | #ifdef SHAPE
|
---|
107 | extern Bool noShapeExtension;
|
---|
108 | #endif
|
---|
109 |
|
---|
110 | #ifdef XCSECURITY
|
---|
111 | extern Bool noSecurityExtension;
|
---|
112 | #endif
|
---|
113 |
|
---|
114 | #ifdef XSYNC
|
---|
115 | extern Bool noSyncExtension;
|
---|
116 | #endif
|
---|
117 |
|
---|
118 | #ifdef TOGCUP
|
---|
119 | extern Bool noXcupExtension;
|
---|
120 | #endif
|
---|
121 |
|
---|
122 | #ifdef RES
|
---|
123 | extern Bool noResExtension;
|
---|
124 | #endif
|
---|
125 |
|
---|
126 | #ifdef XAPPGROUP
|
---|
127 | extern Bool noXagExtension;
|
---|
128 | #endif
|
---|
129 |
|
---|
130 | #ifdef XCMISC
|
---|
131 | extern Bool noXCMiscExtension;
|
---|
132 | #endif
|
---|
133 |
|
---|
134 | #ifdef XEVIE
|
---|
135 | extern Bool noXevieExtension;
|
---|
136 | #endif
|
---|
137 |
|
---|
138 | #ifdef XF86BIGFONT
|
---|
139 | extern Bool noXFree86BigfontExtension;
|
---|
140 | #endif
|
---|
141 |
|
---|
142 | #ifdef XFreeXDGA
|
---|
143 | extern Bool noXFree86DGAExtension;
|
---|
144 | #endif
|
---|
145 |
|
---|
146 | #ifdef XF86DRI
|
---|
147 | extern Bool noXFree86DRIExtension;
|
---|
148 | #endif
|
---|
149 |
|
---|
150 | #ifdef XF86MISC
|
---|
151 | extern Bool noXFree86MiscExtension;
|
---|
152 | #endif
|
---|
153 |
|
---|
154 | #ifdef XF86VIDMODE
|
---|
155 | extern Bool noXFree86VidModeExtension;
|
---|
156 | #endif
|
---|
157 |
|
---|
158 | #ifdef XFIXES
|
---|
159 | extern Bool noXFixesExtension;
|
---|
160 | #endif
|
---|
161 |
|
---|
162 | #ifdef XKB
|
---|
163 | /* |noXkbExtension| is defined in xc/programs/Xserver/xkb/xkbInit.c */
|
---|
164 | extern Bool noXkbExtension;
|
---|
165 | #endif
|
---|
166 |
|
---|
167 | #ifdef PANORAMIX
|
---|
168 | extern Bool noPanoramiXExtension;
|
---|
169 | #endif
|
---|
170 |
|
---|
171 | #ifdef XINPUT
|
---|
172 | extern Bool noXInputExtension;
|
---|
173 | #endif
|
---|
174 |
|
---|
175 | #ifdef XIDLE
|
---|
176 | extern Bool noXIdleExtension;
|
---|
177 | #endif
|
---|
178 |
|
---|
179 | #ifdef XV
|
---|
180 | extern Bool noXvExtension;
|
---|
181 | #endif
|
---|
182 |
|
---|
183 | #endif /* !_XSERV_GLOBAL_H_ */
|
---|