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 WindowPtr WindowTable[MAXSCREENS];
|
---|
23 | extern _X_EXPORT int GrabInProgress;
|
---|
24 | extern _X_EXPORT Bool noTestExtensions;
|
---|
25 |
|
---|
26 | extern _X_EXPORT DDXPointRec dixScreenOrigins[MAXSCREENS];
|
---|
27 |
|
---|
28 | extern _X_EXPORT char *ConnectionInfo;
|
---|
29 |
|
---|
30 | #ifdef DPMSExtension
|
---|
31 | extern _X_EXPORT CARD32 DPMSStandbyTime;
|
---|
32 | extern _X_EXPORT CARD32 DPMSSuspendTime;
|
---|
33 | extern _X_EXPORT CARD32 DPMSOffTime;
|
---|
34 | extern _X_EXPORT CARD16 DPMSPowerLevel;
|
---|
35 | extern _X_EXPORT Bool DPMSEnabled;
|
---|
36 | extern _X_EXPORT Bool DPMSDisabledSwitch;
|
---|
37 | extern _X_EXPORT Bool DPMSCapableFlag;
|
---|
38 | #endif
|
---|
39 |
|
---|
40 | #ifdef PANORAMIX
|
---|
41 | extern _X_EXPORT Bool PanoramiXExtensionDisabledHack;
|
---|
42 | #endif
|
---|
43 |
|
---|
44 | #ifdef COMPOSITE
|
---|
45 | extern _X_EXPORT Bool noCompositeExtension;
|
---|
46 | #endif
|
---|
47 |
|
---|
48 | #ifdef DAMAGE
|
---|
49 | extern _X_EXPORT Bool noDamageExtension;
|
---|
50 | #endif
|
---|
51 |
|
---|
52 | #ifdef DBE
|
---|
53 | extern _X_EXPORT Bool noDbeExtension;
|
---|
54 | #endif
|
---|
55 |
|
---|
56 | #ifdef DPMSExtension
|
---|
57 | extern _X_EXPORT Bool noDPMSExtension;
|
---|
58 | #endif
|
---|
59 |
|
---|
60 | #ifdef GLXEXT
|
---|
61 | extern _X_EXPORT Bool noGlxExtension;
|
---|
62 | #endif
|
---|
63 |
|
---|
64 | #ifdef SCREENSAVER
|
---|
65 | extern _X_EXPORT Bool noScreenSaverExtension;
|
---|
66 | #endif
|
---|
67 |
|
---|
68 | #ifdef MITSHM
|
---|
69 | extern _X_EXPORT Bool noMITShmExtension;
|
---|
70 | #endif
|
---|
71 |
|
---|
72 | #ifdef MULTIBUFFER
|
---|
73 | extern _X_EXPORT Bool noMultibufferExtension;
|
---|
74 | #endif
|
---|
75 |
|
---|
76 | #ifdef RANDR
|
---|
77 | extern _X_EXPORT Bool noRRExtension;
|
---|
78 | #endif
|
---|
79 |
|
---|
80 | #ifdef RENDER
|
---|
81 | extern _X_EXPORT Bool noRenderExtension;
|
---|
82 | #endif
|
---|
83 |
|
---|
84 | #ifdef XCSECURITY
|
---|
85 | extern _X_EXPORT Bool noSecurityExtension;
|
---|
86 | #endif
|
---|
87 |
|
---|
88 | #ifdef RES
|
---|
89 | extern _X_EXPORT Bool noResExtension;
|
---|
90 | #endif
|
---|
91 |
|
---|
92 | #ifdef XF86BIGFONT
|
---|
93 | extern _X_EXPORT Bool noXFree86BigfontExtension;
|
---|
94 | #endif
|
---|
95 |
|
---|
96 | #ifdef XFreeXDGA
|
---|
97 | extern _X_EXPORT Bool noXFree86DGAExtension;
|
---|
98 | #endif
|
---|
99 |
|
---|
100 | #ifdef XF86DRI
|
---|
101 | extern _X_EXPORT Bool noXFree86DRIExtension;
|
---|
102 | #endif
|
---|
103 |
|
---|
104 | #ifdef XF86VIDMODE
|
---|
105 | extern _X_EXPORT Bool noXFree86VidModeExtension;
|
---|
106 | #endif
|
---|
107 |
|
---|
108 | #ifdef XFIXES
|
---|
109 | extern _X_EXPORT Bool noXFixesExtension;
|
---|
110 | #endif
|
---|
111 |
|
---|
112 | #ifdef PANORAMIX
|
---|
113 | extern _X_EXPORT Bool noPanoramiXExtension;
|
---|
114 | #endif
|
---|
115 |
|
---|
116 | #ifdef XSELINUX
|
---|
117 | extern _X_EXPORT Bool noSELinuxExtension;
|
---|
118 |
|
---|
119 | #define SELINUX_MODE_DEFAULT 0
|
---|
120 | #define SELINUX_MODE_DISABLED 1
|
---|
121 | #define SELINUX_MODE_PERMISSIVE 2
|
---|
122 | #define SELINUX_MODE_ENFORCING 3
|
---|
123 | extern _X_EXPORT int selinuxEnforcingState;
|
---|
124 | #endif
|
---|
125 |
|
---|
126 | #ifdef XV
|
---|
127 | extern _X_EXPORT Bool noXvExtension;
|
---|
128 | #endif
|
---|
129 |
|
---|
130 | #ifdef DRI2
|
---|
131 | extern _X_EXPORT Bool noDRI2Extension;
|
---|
132 | #endif
|
---|
133 |
|
---|
134 | #endif /* !_XSERV_GLOBAL_H_ */
|
---|