blob: 6aadb8bdf30b85d34d000079f39427f18a32e778 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
|
#ifndef _XSERV_GLOBAL_H_
#define _XSERV_GLOBAL_H_
#include "window.h" /* for WindowPtr */
/* Global X server variables that are visible to mi, dix, os, and ddx */
extern _X_EXPORT CARD32 defaultScreenSaverTime;
extern _X_EXPORT CARD32 defaultScreenSaverInterval;
extern _X_EXPORT CARD32 ScreenSaverTime;
extern _X_EXPORT CARD32 ScreenSaverInterval;
#ifdef SCREENSAVER
extern _X_EXPORT Bool screenSaverSuspended;
#endif
extern _X_EXPORT char *defaultFontPath;
extern _X_EXPORT int monitorResolution;
extern _X_EXPORT int defaultColorVisualClass;
extern _X_EXPORT WindowPtr WindowTable[MAXSCREENS];
extern _X_EXPORT int GrabInProgress;
extern _X_EXPORT Bool noTestExtensions;
extern _X_EXPORT DDXPointRec dixScreenOrigins[MAXSCREENS];
extern _X_EXPORT char *ConnectionInfo;
#ifdef DPMSExtension
extern _X_EXPORT CARD32 DPMSStandbyTime;
extern _X_EXPORT CARD32 DPMSSuspendTime;
extern _X_EXPORT CARD32 DPMSOffTime;
extern _X_EXPORT CARD16 DPMSPowerLevel;
extern _X_EXPORT Bool DPMSEnabled;
extern _X_EXPORT Bool DPMSDisabledSwitch;
extern _X_EXPORT Bool DPMSCapableFlag;
#endif
#ifdef PANORAMIX
extern _X_EXPORT Bool PanoramiXExtensionDisabledHack;
#endif
extern _X_EXPORT Bool noCompositeExtension;
#ifdef DAMAGE
extern _X_EXPORT Bool noDamageExtension;
#endif
#ifdef DBE
extern _X_EXPORT Bool noDbeExtension;
#endif
#ifdef DPMSExtension
extern _X_EXPORT Bool noDPMSExtension;
#endif
#ifdef GLXEXT
extern _X_EXPORT Bool noGlxExtension;
#endif
#ifdef SCREENSAVER
extern _X_EXPORT Bool noScreenSaverExtension;
#endif
#ifdef MITSHM
extern _X_EXPORT Bool noMITShmExtension;
#endif
#ifdef MULTIBUFFER
extern _X_EXPORT Bool noMultibufferExtension;
#endif
#ifdef RANDR
extern _X_EXPORT Bool noRRExtension;
#endif
#ifdef RENDER
extern _X_EXPORT Bool noRenderExtension;
#endif
#ifdef XCSECURITY
extern _X_EXPORT Bool noSecurityExtension;
#endif
#ifdef RES
extern _X_EXPORT Bool noResExtension;
#endif
#ifdef XF86BIGFONT
extern _X_EXPORT Bool noXFree86BigfontExtension;
#endif
#ifdef XFreeXDGA
extern _X_EXPORT Bool noXFree86DGAExtension;
#endif
#ifdef XF86DRI
extern _X_EXPORT Bool noXFree86DRIExtension;
#endif
#ifdef XF86VIDMODE
extern _X_EXPORT Bool noXFree86VidModeExtension;
#endif
#ifdef XFIXES
extern _X_EXPORT Bool noXFixesExtension;
#endif
#ifdef PANORAMIX
extern _X_EXPORT Bool noPanoramiXExtension;
#endif
#ifdef XSELINUX
extern _X_EXPORT Bool noSELinuxExtension;
#define SELINUX_MODE_DEFAULT 0
#define SELINUX_MODE_DISABLED 1
#define SELINUX_MODE_PERMISSIVE 2
#define SELINUX_MODE_ENFORCING 3
extern _X_EXPORT int selinuxEnforcingState;
#endif
#ifdef XV
extern _X_EXPORT Bool noXvExtension;
#endif
#ifdef DRI2
extern _X_EXPORT Bool noDRI2Extension;
#endif
#endif /* !_XSERV_GLOBAL_H_ */
|