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 ScreenSaverBlanking;
|
||||||
int ScreenSaverAllowExposures;
|
int ScreenSaverAllowExposures;
|
||||||
|
|
||||||
CARD32 defaultScreenSaverTime = DEFAULT_SCREEN_SAVER_TIME;
|
/* default time of 10 minutes */
|
||||||
CARD32 defaultScreenSaverInterval = DEFAULT_SCREEN_SAVER_INTERVAL;
|
CARD32 defaultScreenSaverTime = (10 * (60 * 1000));
|
||||||
int defaultScreenSaverBlanking = DEFAULT_SCREEN_SAVER_BLANKING;
|
CARD32 defaultScreenSaverInterval = (10 * (60 * 1000));
|
||||||
int defaultScreenSaverAllowExposures = DEFAULT_SCREEN_SAVER_EXPOSURES;
|
int defaultScreenSaverBlanking = PreferBlanking;
|
||||||
|
int defaultScreenSaverAllowExposures = AllowExposures;
|
||||||
|
|
||||||
#ifdef SCREENSAVER
|
#ifdef SCREENSAVER
|
||||||
Bool screenSaverSuspended = FALSE;
|
Bool screenSaverSuspended = FALSE;
|
||||||
|
|
|
@ -51,9 +51,5 @@ SOFTWARE.
|
||||||
* The following constants contain default values for all of the variables
|
* The following constants contain default values for all of the variables
|
||||||
* that can be initialized on the server command line or in the environment.
|
* 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 */
|
#endif /* SITE_H */
|
||||||
|
|
Loading…
Reference in New Issue