1 | /* $XdotOrg: xserver/xorg/include/globals.h,v 1.10.10.1 2006/04/05 21:23:06 fredrik 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 | #ifdef SCREENSAVER
|
---|
17 | extern Bool screenSaverSuspended;
|
---|
18 | #endif
|
---|
19 |
|
---|
20 | extern char *defaultFontPath;
|
---|
21 | extern char *rgbPath;
|
---|
22 | extern int monitorResolution;
|
---|
23 | extern Bool loadableFonts;
|
---|
24 | extern int defaultColorVisualClass;
|
---|
25 |
|
---|
26 | extern Bool Must_have_memory;
|
---|
27 | extern WindowPtr *WindowTable;
|
---|
28 | extern int GrabInProgress;
|
---|
29 | extern Bool noTestExtensions;
|
---|
30 |
|
---|
31 | extern DDXPointRec dixScreenOrigins[MAXSCREENS];
|
---|
32 |
|
---|
33 | #ifdef DPMSExtension
|
---|
34 | extern CARD32 defaultDPMSStandbyTime;
|
---|
35 | extern CARD32 defaultDPMSSuspendTime;
|
---|
36 | extern CARD32 defaultDPMSOffTime;
|
---|
37 | extern CARD32 DPMSStandbyTime;
|
---|
38 | extern CARD32 DPMSSuspendTime;
|
---|
39 | extern CARD32 DPMSOffTime;
|
---|
40 | extern CARD16 DPMSPowerLevel;
|
---|
41 | extern Bool defaultDPMSEnabled;
|
---|
42 | extern Bool DPMSEnabled;
|
---|
43 | extern Bool DPMSEnabledSwitch;
|
---|
44 | extern Bool DPMSDisabledSwitch;
|
---|
45 | extern Bool DPMSCapableFlag;
|
---|
46 | #endif
|
---|
47 |
|
---|
48 | #ifdef PANORAMIX
|
---|
49 | extern Bool PanoramiXMapped;
|
---|
50 | extern Bool PanoramiXVisibilityNotifySent;
|
---|
51 | extern Bool PanoramiXWindowExposureSent;
|
---|
52 | extern Bool PanoramiXOneExposeRequest;
|
---|
53 | #endif
|
---|
54 |
|
---|
55 | #ifdef BIGREQS
|
---|
56 | extern Bool noBigReqExtension;
|
---|
57 | #endif
|
---|
58 |
|
---|
59 | #ifdef COMPOSITE
|
---|
60 | extern Bool noCompositeExtension;
|
---|
61 | #endif
|
---|
62 |
|
---|
63 | #ifdef DAMAGE
|
---|
64 | extern Bool noDamageExtension;
|
---|
65 | #endif
|
---|
66 |
|
---|
67 | #ifdef DBE
|
---|
68 | extern Bool noDbeExtension;
|
---|
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_ */
|
---|