1 |
|
---|
2 | #ifndef _XSERV_GLOBAL_H_
|
---|
3 | #define _XSERV_GLOBAL_H_
|
---|
4 |
|
---|
5 | #include <signal.h>
|
---|
6 |
|
---|
7 | #include "window.h" /* for WindowPtr */
|
---|
8 | #include "extinit.h"
|
---|
9 |
|
---|
10 | /* Global X server variables that are visible to mi, dix, os, and ddx */
|
---|
11 |
|
---|
12 | extern _X_EXPORT CARD32 defaultScreenSaverTime;
|
---|
13 | extern _X_EXPORT CARD32 defaultScreenSaverInterval;
|
---|
14 | extern _X_EXPORT CARD32 ScreenSaverTime;
|
---|
15 | extern _X_EXPORT CARD32 ScreenSaverInterval;
|
---|
16 |
|
---|
17 | #ifdef SCREENSAVER
|
---|
18 | extern _X_EXPORT Bool screenSaverSuspended;
|
---|
19 | #endif
|
---|
20 |
|
---|
21 | extern _X_EXPORT const char *defaultFontPath;
|
---|
22 | extern _X_EXPORT int monitorResolution;
|
---|
23 | extern _X_EXPORT int defaultColorVisualClass;
|
---|
24 |
|
---|
25 | extern _X_EXPORT int GrabInProgress;
|
---|
26 | extern _X_EXPORT Bool noTestExtensions;
|
---|
27 | extern _X_EXPORT char *SeatId;
|
---|
28 | extern _X_EXPORT char *ConnectionInfo;
|
---|
29 | extern _X_EXPORT sig_atomic_t inSignalContext;
|
---|
30 |
|
---|
31 | #ifdef DPMSExtension
|
---|
32 | extern _X_EXPORT CARD32 DPMSStandbyTime;
|
---|
33 | extern _X_EXPORT CARD32 DPMSSuspendTime;
|
---|
34 | extern _X_EXPORT CARD32 DPMSOffTime;
|
---|
35 | extern _X_EXPORT CARD16 DPMSPowerLevel;
|
---|
36 | extern _X_EXPORT Bool DPMSEnabled;
|
---|
37 | extern _X_EXPORT Bool DPMSDisabledSwitch;
|
---|
38 | extern _X_EXPORT Bool DPMSCapableFlag;
|
---|
39 | #endif
|
---|
40 |
|
---|
41 | #ifdef PANORAMIX
|
---|
42 | extern _X_EXPORT Bool PanoramiXExtensionDisabledHack;
|
---|
43 | #endif
|
---|
44 |
|
---|
45 | #ifdef XSELINUX
|
---|
46 | #define SELINUX_MODE_DEFAULT 0
|
---|
47 | #define SELINUX_MODE_DISABLED 1
|
---|
48 | #define SELINUX_MODE_PERMISSIVE 2
|
---|
49 | #define SELINUX_MODE_ENFORCING 3
|
---|
50 | extern _X_EXPORT int selinuxEnforcingState;
|
---|
51 | #endif
|
---|
52 |
|
---|
53 | #endif /* !_XSERV_GLOBAL_H_ */
|
---|