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