diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-14 16:49:22 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-14 16:49:22 +0000 |
commit | d568221710959cf7d783e6ff0fb80fb43a231124 (patch) | |
tree | 8d6f039393294c6ffac8533639afdebe5d68bfc1 /dix/globals.c | |
parent | 9508a382f8a9f241dab097d921b6d290c1c3a776 (diff) |
XFree86 4.3.0.1xf86-4_3_0_1PRE_xf86-4_3_0_1
Diffstat (limited to 'dix/globals.c')
-rw-r--r-- | dix/globals.c | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/dix/globals.c b/dix/globals.c index fe45f64cd..3051ebbbb 100644 --- a/dix/globals.c +++ b/dix/globals.c @@ -1,3 +1,4 @@ +/* $XFree86: xc/programs/Xserver/dix/globals.c,v 1.10 2002/10/08 23:55:18 dawes Exp $ */ /************************************************************ Copyright 1987, 1998 The Open Group @@ -90,18 +91,22 @@ CARD32 ScreenSaverInterval; int ScreenSaverBlanking; int ScreenSaverAllowExposures; +#ifdef DPMSExtension #define DEFAULT_STANDBY_TIME DEFAULT_SCREEN_SAVER_TIME * 2 #define DEFAULT_SUSPEND_TIME DEFAULT_SCREEN_SAVER_TIME * 3 #define DEFAULT_OFF_TIME DEFAULT_SCREEN_SAVER_TIME * 4 -#ifdef DPMSExtension -CARD32 DPMSStandbyTime = DEFAULT_STANDBY_TIME; -CARD32 DPMSSuspendTime = DEFAULT_SUSPEND_TIME; -CARD32 DPMSOffTime = DEFAULT_OFF_TIME; +CARD32 defaultDPMSStandbyTime = DEFAULT_STANDBY_TIME; +CARD32 defaultDPMSSuspendTime = DEFAULT_SUSPEND_TIME; +CARD32 defaultDPMSOffTime = DEFAULT_OFF_TIME; CARD16 DPMSPowerLevel = 0; -BOOL DPMSEnabled = FALSE; -BOOL DPMSEnabledSwitch = FALSE; /* these denote the DPMS command line */ -BOOL DPMSDisabledSwitch = FALSE; /* switch states */ -BOOL DPMSCapableFlag = FALSE; +Bool defaultDPMSEnabled = FALSE; +Bool DPMSEnabledSwitch = FALSE; /* these denote the DPMS command line */ +Bool DPMSDisabledSwitch = FALSE; /* switch states */ +Bool DPMSCapableFlag = FALSE; +CARD32 DPMSStandbyTime; +CARD32 DPMSSuspendTime; +CARD32 DPMSOffTime; +Bool DPMSEnabled; #endif CARD32 defaultScreenSaverTime = DEFAULT_SCREEN_SAVER_TIME; @@ -119,7 +124,9 @@ char *rgbPath = RGB_DB; char *defaultDisplayClass = COMPILEDDISPLAYCLASS; FontPtr defaultFont; /* not declared in dix.h to avoid including font.h in every compilation of dix code */ +Bool loadableFonts = FALSE; CursorPtr rootCursor; +Bool blackRoot=FALSE; ClientPtr requestingClient; /* XXX this should be obsolete now, remove? */ TimeStamp currentTime; @@ -137,3 +144,5 @@ char *display; CARD32 TimeOutValue = DEFAULT_TIMEOUT * MILLI_PER_SECOND; int argcGlobal; char **argvGlobal; + +DDXPointRec dixScreenOrigins[MAXSCREENS]; |