2003-11-14 17:48:57 +01: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 */
|
|
|
|
|
|
|
|
extern CARD32 defaultScreenSaverTime;
|
|
|
|
extern CARD32 defaultScreenSaverInterval;
|
|
|
|
extern CARD32 ScreenSaverTime;
|
|
|
|
extern CARD32 ScreenSaverInterval;
|
|
|
|
|
2006-04-05 23:08:45 +02:00
|
|
|
#ifdef SCREENSAVER
|
|
|
|
extern Bool screenSaverSuspended;
|
|
|
|
#endif
|
|
|
|
|
2003-11-14 17:48:57 +01:00
|
|
|
extern char *defaultFontPath;
|
|
|
|
extern int monitorResolution;
|
|
|
|
extern int defaultColorVisualClass;
|
|
|
|
|
|
|
|
extern Bool Must_have_memory;
|
|
|
|
extern WindowPtr *WindowTable;
|
|
|
|
extern int GrabInProgress;
|
|
|
|
extern Bool noTestExtensions;
|
|
|
|
|
|
|
|
extern DDXPointRec dixScreenOrigins[MAXSCREENS];
|
|
|
|
|
|
|
|
#ifdef DPMSExtension
|
|
|
|
extern CARD32 defaultDPMSStandbyTime;
|
|
|
|
extern CARD32 defaultDPMSSuspendTime;
|
|
|
|
extern CARD32 defaultDPMSOffTime;
|
|
|
|
extern CARD32 DPMSStandbyTime;
|
|
|
|
extern CARD32 DPMSSuspendTime;
|
|
|
|
extern CARD32 DPMSOffTime;
|
|
|
|
extern CARD16 DPMSPowerLevel;
|
|
|
|
extern Bool defaultDPMSEnabled;
|
|
|
|
extern Bool DPMSEnabled;
|
|
|
|
extern Bool DPMSEnabledSwitch;
|
|
|
|
extern Bool DPMSDisabledSwitch;
|
|
|
|
extern Bool DPMSCapableFlag;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef PANORAMIX
|
2006-06-07 21:06:22 +02:00
|
|
|
extern Bool PanoramiXExtensionDisabledHack;
|
2003-11-14 17:48:57 +01:00
|
|
|
#endif
|
|
|
|
|
2004-09-14 02:51:25 +02:00
|
|
|
#ifdef BIGREQS
|
|
|
|
extern Bool noBigReqExtension;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef COMPOSITE
|
|
|
|
extern Bool noCompositeExtension;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef DAMAGE
|
|
|
|
extern Bool noDamageExtension;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef DBE
|
|
|
|
extern Bool noDbeExtension;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef DPMSExtension
|
|
|
|
extern Bool noDPMSExtension;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef FONTCACHE
|
|
|
|
extern Bool noFontCacheExtension;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef GLXEXT
|
|
|
|
extern Bool noGlxExtension;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef SCREENSAVER
|
|
|
|
extern Bool noScreenSaverExtension;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef MITSHM
|
|
|
|
extern Bool noMITShmExtension;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef MULTIBUFFER
|
|
|
|
extern Bool noMultibufferExtension;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef RANDR
|
|
|
|
extern Bool noRRExtension;
|
|
|
|
#endif
|
|
|
|
|
2004-07-31 06:23:21 +02:00
|
|
|
#ifdef RENDER
|
|
|
|
extern Bool noRenderExtension;
|
|
|
|
#endif
|
|
|
|
|
2004-09-14 02:51:25 +02:00
|
|
|
#ifdef SHAPE
|
|
|
|
extern Bool noShapeExtension;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef XCSECURITY
|
|
|
|
extern Bool noSecurityExtension;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef XSYNC
|
|
|
|
extern Bool noSyncExtension;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef RES
|
|
|
|
extern Bool noResExtension;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef XCMISC
|
|
|
|
extern Bool noXCMiscExtension;
|
|
|
|
#endif
|
|
|
|
|
2004-07-31 06:23:21 +02:00
|
|
|
#ifdef XEVIE
|
|
|
|
extern Bool noXevieExtension;
|
|
|
|
#endif
|
2003-11-14 17:48:57 +01:00
|
|
|
|
2004-09-14 02:51:25 +02:00
|
|
|
#ifdef XF86BIGFONT
|
|
|
|
extern Bool noXFree86BigfontExtension;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef XFreeXDGA
|
|
|
|
extern Bool noXFree86DGAExtension;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef XF86DRI
|
|
|
|
extern Bool noXFree86DRIExtension;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef XF86VIDMODE
|
|
|
|
extern Bool noXFree86VidModeExtension;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef XFIXES
|
|
|
|
extern Bool noXFixesExtension;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef XKB
|
|
|
|
/* |noXkbExtension| is defined in xc/programs/Xserver/xkb/xkbInit.c */
|
|
|
|
extern Bool noXkbExtension;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef PANORAMIX
|
|
|
|
extern Bool noPanoramiXExtension;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
extern Bool noXInputExtension;
|
|
|
|
|
|
|
|
#ifdef XIDLE
|
|
|
|
extern Bool noXIdleExtension;
|
|
|
|
#endif
|
|
|
|
|
2008-03-28 19:01:34 +01:00
|
|
|
#ifdef XSELINUX
|
|
|
|
extern Bool noSELinuxExtension;
|
|
|
|
|
|
|
|
#define SELINUX_MODE_DEFAULT 0
|
|
|
|
#define SELINUX_MODE_DISABLED 1
|
|
|
|
#define SELINUX_MODE_PERMISSIVE 2
|
|
|
|
#define SELINUX_MODE_ENFORCING 3
|
|
|
|
extern int selinuxEnforcingState;
|
|
|
|
#endif
|
|
|
|
|
2004-09-14 02:51:25 +02:00
|
|
|
#ifdef XV
|
|
|
|
extern Bool noXvExtension;
|
2004-07-31 11:14:06 +02:00
|
|
|
#endif
|
|
|
|
|
2004-09-14 02:51:25 +02:00
|
|
|
#endif /* !_XSERV_GLOBAL_H_ */
|