2006-11-26 11:13:41 -07:00
|
|
|
|
|
|
|
#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 */
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT CARD32 defaultScreenSaverTime;
|
|
|
|
extern _X_EXPORT CARD32 defaultScreenSaverInterval;
|
|
|
|
extern _X_EXPORT CARD32 ScreenSaverTime;
|
|
|
|
extern _X_EXPORT CARD32 ScreenSaverInterval;
|
2006-11-26 11:13:41 -07:00
|
|
|
|
|
|
|
#ifdef SCREENSAVER
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT Bool screenSaverSuspended;
|
2006-11-26 11:13:41 -07:00
|
|
|
#endif
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT char *defaultFontPath;
|
|
|
|
extern _X_EXPORT int monitorResolution;
|
|
|
|
extern _X_EXPORT int defaultColorVisualClass;
|
2006-11-26 11:13:41 -07:00
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT int GrabInProgress;
|
|
|
|
extern _X_EXPORT Bool noTestExtensions;
|
2006-11-26 11:13:41 -07:00
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT char *ConnectionInfo;
|
2009-09-06 13:44:18 -06:00
|
|
|
|
2006-11-26 11:13:41 -07:00
|
|
|
#ifdef DPMSExtension
|
2010-07-27 13:02:24 -06:00
|
|
|
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;
|
2006-11-26 11:13:41 -07:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef PANORAMIX
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT Bool PanoramiXExtensionDisabledHack;
|
2006-11-26 11:13:41 -07:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef COMPOSITE
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT Bool noCompositeExtension;
|
2006-11-26 11:13:41 -07:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef DAMAGE
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT Bool noDamageExtension;
|
2006-11-26 11:13:41 -07:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef DBE
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT Bool noDbeExtension;
|
2006-11-26 11:13:41 -07:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef DPMSExtension
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT Bool noDPMSExtension;
|
2006-11-26 11:13:41 -07:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef GLXEXT
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT Bool noGlxExtension;
|
2006-11-26 11:13:41 -07:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef SCREENSAVER
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT Bool noScreenSaverExtension;
|
2006-11-26 11:13:41 -07:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef MITSHM
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT Bool noMITShmExtension;
|
2006-11-26 11:13:41 -07:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef RANDR
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT Bool noRRExtension;
|
2006-11-26 11:13:41 -07:00
|
|
|
#endif
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT Bool noRenderExtension;
|
2006-11-26 11:13:41 -07:00
|
|
|
|
|
|
|
#ifdef XCSECURITY
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT Bool noSecurityExtension;
|
2006-11-26 11:13:41 -07:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef RES
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT Bool noResExtension;
|
2006-11-26 11:13:41 -07:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef XF86BIGFONT
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT Bool noXFree86BigfontExtension;
|
2006-11-26 11:13:41 -07:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef XFreeXDGA
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT Bool noXFree86DGAExtension;
|
2006-11-26 11:13:41 -07:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef XF86DRI
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT Bool noXFree86DRIExtension;
|
2006-11-26 11:13:41 -07:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef XF86VIDMODE
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT Bool noXFree86VidModeExtension;
|
2006-11-26 11:13:41 -07:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef XFIXES
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT Bool noXFixesExtension;
|
2006-11-26 11:13:41 -07:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef PANORAMIX
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT Bool noPanoramiXExtension;
|
2006-11-26 11:13:41 -07:00
|
|
|
#endif
|
|
|
|
|
2008-11-02 08:26:08 -07:00
|
|
|
#ifdef XSELINUX
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT Bool noSELinuxExtension;
|
2008-11-02 08:26:08 -07:00
|
|
|
|
|
|
|
#define SELINUX_MODE_DEFAULT 0
|
|
|
|
#define SELINUX_MODE_DISABLED 1
|
|
|
|
#define SELINUX_MODE_PERMISSIVE 2
|
|
|
|
#define SELINUX_MODE_ENFORCING 3
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT int selinuxEnforcingState;
|
2008-11-02 08:26:08 -07:00
|
|
|
#endif
|
|
|
|
|
2006-11-26 11:13:41 -07:00
|
|
|
#ifdef XV
|
2010-07-27 13:02:24 -06:00
|
|
|
extern _X_EXPORT Bool noXvExtension;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef DRI2
|
|
|
|
extern _X_EXPORT Bool noDRI2Extension;
|
2006-11-26 11:13:41 -07:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* !_XSERV_GLOBAL_H_ */
|