xenocara/xserver/include/globals.h

126 lines
2.6 KiB
C
Raw Normal View History

2006-11-26 11:13:41 -07:00
#ifndef _XSERV_GLOBAL_H_
#define _XSERV_GLOBAL_H_
#include "window.h" /* for WindowPtr */
2006-11-26 11:13:41 -07:00
/* 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;
2006-11-26 11:13:41 -07:00
#ifdef SCREENSAVER
extern _X_EXPORT Bool screenSaverSuspended;
2006-11-26 11:13:41 -07:00
#endif
extern _X_EXPORT char *defaultFontPath;
extern _X_EXPORT int monitorResolution;
extern _X_EXPORT int defaultColorVisualClass;
2006-11-26 11:13:41 -07:00
extern _X_EXPORT int GrabInProgress;
extern _X_EXPORT Bool noTestExtensions;
extern _X_EXPORT char *SeatId;
extern _X_EXPORT char *ConnectionInfo;
2006-11-26 11:13:41 -07:00
#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;
2006-11-26 11:13:41 -07:00
#endif
#ifdef PANORAMIX
extern _X_EXPORT Bool PanoramiXExtensionDisabledHack;
2006-11-26 11:13:41 -07:00
#endif
#ifdef COMPOSITE
extern _X_EXPORT Bool noCompositeExtension;
2006-11-26 11:13:41 -07:00
#endif
#ifdef DAMAGE
extern _X_EXPORT Bool noDamageExtension;
2006-11-26 11:13:41 -07:00
#endif
#ifdef DBE
extern _X_EXPORT Bool noDbeExtension;
2006-11-26 11:13:41 -07:00
#endif
#ifdef DPMSExtension
extern _X_EXPORT Bool noDPMSExtension;
2006-11-26 11:13:41 -07:00
#endif
#ifdef GLXEXT
extern _X_EXPORT Bool noGlxExtension;
2006-11-26 11:13:41 -07:00
#endif
#ifdef SCREENSAVER
extern _X_EXPORT Bool noScreenSaverExtension;
2006-11-26 11:13:41 -07:00
#endif
#ifdef MITSHM
extern _X_EXPORT Bool noMITShmExtension;
2006-11-26 11:13:41 -07:00
#endif
#ifdef RANDR
extern _X_EXPORT Bool noRRExtension;
2006-11-26 11:13:41 -07:00
#endif
extern _X_EXPORT Bool noRenderExtension;
2006-11-26 11:13:41 -07:00
#ifdef XCSECURITY
extern _X_EXPORT Bool noSecurityExtension;
2006-11-26 11:13:41 -07:00
#endif
#ifdef RES
extern _X_EXPORT Bool noResExtension;
2006-11-26 11:13:41 -07:00
#endif
#ifdef XF86BIGFONT
extern _X_EXPORT Bool noXFree86BigfontExtension;
2006-11-26 11:13:41 -07:00
#endif
#ifdef XFreeXDGA
extern _X_EXPORT Bool noXFree86DGAExtension;
2006-11-26 11:13:41 -07:00
#endif
#ifdef XF86DRI
extern _X_EXPORT Bool noXFree86DRIExtension;
2006-11-26 11:13:41 -07:00
#endif
#ifdef XF86VIDMODE
extern _X_EXPORT Bool noXFree86VidModeExtension;
2006-11-26 11:13:41 -07:00
#endif
#ifdef XFIXES
extern _X_EXPORT Bool noXFixesExtension;
2006-11-26 11:13:41 -07:00
#endif
#ifdef PANORAMIX
extern _X_EXPORT Bool noPanoramiXExtension;
2006-11-26 11:13:41 -07:00
#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
2006-11-26 11:13:41 -07:00
#ifdef XV
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_ */