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 PanoramiXMapped;
|
---|
48 | extern Bool PanoramiXVisibilityNotifySent;
|
---|
49 | extern Bool PanoramiXWindowExposureSent;
|
---|
50 | extern Bool PanoramiXOneExposeRequest;
|
---|
51 | extern Bool PanoramiXExtensionDisabledHack;
|
---|
52 | #endif
|
---|
53 |
|
---|
54 | #ifdef BIGREQS
|
---|
55 | extern Bool noBigReqExtension;
|
---|
56 | #endif
|
---|
57 |
|
---|
58 | #ifdef COMPOSITE
|
---|
59 | extern Bool noCompositeExtension;
|
---|
60 | #endif
|
---|
61 |
|
---|
62 | #ifdef DAMAGE
|
---|
63 | extern Bool noDamageExtension;
|
---|
64 | #endif
|
---|
65 |
|
---|
66 | #ifdef DBE
|
---|
67 | extern Bool noDbeExtension;
|
---|
68 | #endif
|
---|
69 |
|
---|
70 | #ifdef DPMSExtension
|
---|
71 | extern Bool noDPMSExtension;
|
---|
72 | #endif
|
---|
73 |
|
---|
74 | #ifdef EVI
|
---|
75 | extern Bool noEVIExtension;
|
---|
76 | #endif
|
---|
77 |
|
---|
78 | #ifdef FONTCACHE
|
---|
79 | extern Bool noFontCacheExtension;
|
---|
80 | #endif
|
---|
81 |
|
---|
82 | #ifdef GLXEXT
|
---|
83 | extern Bool noGlxExtension;
|
---|
84 | #endif
|
---|
85 |
|
---|
86 | #ifdef SCREENSAVER
|
---|
87 | extern Bool noScreenSaverExtension;
|
---|
88 | #endif
|
---|
89 |
|
---|
90 | #ifdef MITSHM
|
---|
91 | extern Bool noMITShmExtension;
|
---|
92 | #endif
|
---|
93 |
|
---|
94 | #ifdef MITMISC
|
---|
95 | extern Bool noMITMiscExtension;
|
---|
96 | #endif
|
---|
97 |
|
---|
98 | #ifdef MULTIBUFFER
|
---|
99 | extern Bool noMultibufferExtension;
|
---|
100 | #endif
|
---|
101 |
|
---|
102 | #ifdef RANDR
|
---|
103 | extern Bool noRRExtension;
|
---|
104 | #endif
|
---|
105 |
|
---|
106 | #ifdef RENDER
|
---|
107 | extern Bool noRenderExtension;
|
---|
108 | #endif
|
---|
109 |
|
---|
110 | #ifdef SHAPE
|
---|
111 | extern Bool noShapeExtension;
|
---|
112 | #endif
|
---|
113 |
|
---|
114 | #ifdef XCSECURITY
|
---|
115 | extern Bool noSecurityExtension;
|
---|
116 | #endif
|
---|
117 |
|
---|
118 | #ifdef XSYNC
|
---|
119 | extern Bool noSyncExtension;
|
---|
120 | #endif
|
---|
121 |
|
---|
122 | #ifdef TOGCUP
|
---|
123 | extern Bool noXcupExtension;
|
---|
124 | #endif
|
---|
125 |
|
---|
126 | #ifdef RES
|
---|
127 | extern Bool noResExtension;
|
---|
128 | #endif
|
---|
129 |
|
---|
130 | #ifdef XAPPGROUP
|
---|
131 | extern Bool noXagExtension;
|
---|
132 | #endif
|
---|
133 |
|
---|
134 | #ifdef XCMISC
|
---|
135 | extern Bool noXCMiscExtension;
|
---|
136 | #endif
|
---|
137 |
|
---|
138 | #ifdef XEVIE
|
---|
139 | extern Bool noXevieExtension;
|
---|
140 | #endif
|
---|
141 |
|
---|
142 | #ifdef XF86BIGFONT
|
---|
143 | extern Bool noXFree86BigfontExtension;
|
---|
144 | #endif
|
---|
145 |
|
---|
146 | #ifdef XFreeXDGA
|
---|
147 | extern Bool noXFree86DGAExtension;
|
---|
148 | #endif
|
---|
149 |
|
---|
150 | #ifdef XF86DRI
|
---|
151 | extern Bool noXFree86DRIExtension;
|
---|
152 | #endif
|
---|
153 |
|
---|
154 | #ifdef XF86MISC
|
---|
155 | extern Bool noXFree86MiscExtension;
|
---|
156 | #endif
|
---|
157 |
|
---|
158 | #ifdef XF86VIDMODE
|
---|
159 | extern Bool noXFree86VidModeExtension;
|
---|
160 | #endif
|
---|
161 |
|
---|
162 | #ifdef XFIXES
|
---|
163 | extern Bool noXFixesExtension;
|
---|
164 | #endif
|
---|
165 |
|
---|
166 | #ifdef XKB
|
---|
167 | /* |noXkbExtension| is defined in xc/programs/Xserver/xkb/xkbInit.c */
|
---|
168 | extern Bool noXkbExtension;
|
---|
169 | #endif
|
---|
170 |
|
---|
171 | #ifdef PANORAMIX
|
---|
172 | extern Bool noPanoramiXExtension;
|
---|
173 | #endif
|
---|
174 |
|
---|
175 | #ifdef XINPUT
|
---|
176 | extern Bool noXInputExtension;
|
---|
177 | #endif
|
---|
178 |
|
---|
179 | #ifdef XIDLE
|
---|
180 | extern Bool noXIdleExtension;
|
---|
181 | #endif
|
---|
182 |
|
---|
183 | #ifdef XV
|
---|
184 | extern Bool noXvExtension;
|
---|
185 | #endif
|
---|
186 |
|
---|
187 | #endif /* !_XSERV_GLOBAL_H_ */
|
---|