dix: Move default screensaver defaults into globals.c
This commit is contained in:
parent
43fc530780
commit
ff4e2c24ec
|
@ -93,10 +93,11 @@ CARD32 ScreenSaverInterval;
|
|||
int ScreenSaverBlanking;
|
||||
int ScreenSaverAllowExposures;
|
||||
|
||||
CARD32 defaultScreenSaverTime = DEFAULT_SCREEN_SAVER_TIME;
|
||||
CARD32 defaultScreenSaverInterval = DEFAULT_SCREEN_SAVER_INTERVAL;
|
||||
int defaultScreenSaverBlanking = DEFAULT_SCREEN_SAVER_BLANKING;
|
||||
int defaultScreenSaverAllowExposures = DEFAULT_SCREEN_SAVER_EXPOSURES;
|
||||
/* default time of 10 minutes */
|
||||
CARD32 defaultScreenSaverTime = (10 * (60 * 1000));
|
||||
CARD32 defaultScreenSaverInterval = (10 * (60 * 1000));
|
||||
int defaultScreenSaverBlanking = PreferBlanking;
|
||||
int defaultScreenSaverAllowExposures = AllowExposures;
|
||||
|
||||
#ifdef SCREENSAVER
|
||||
Bool screenSaverSuspended = FALSE;
|
||||
|
|
|
@ -51,9 +51,5 @@ SOFTWARE.
|
|||
* The following constants contain default values for all of the variables
|
||||
* that can be initialized on the server command line or in the environment.
|
||||
*/
|
||||
#define DEFAULT_SCREEN_SAVER_TIME (10 * (60 * 1000))
|
||||
#define DEFAULT_SCREEN_SAVER_INTERVAL (10 * (60 * 1000))
|
||||
#define DEFAULT_SCREEN_SAVER_BLANKING PreferBlanking
|
||||
#define DEFAULT_SCREEN_SAVER_EXPOSURES AllowExposures
|
||||
|
||||
#endif /* SITE_H */
|
||||
|
|
Loading…
Reference in New Issue