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