diff options
author | Adam Jackson <ajax@redhat.com> | 2019-10-16 14:43:36 -0400 |
---|---|---|
committer | Adam Jackson <ajax@nwnk.net> | 2019-10-30 16:17:04 +0000 |
commit | ff4e2c24ec599ecdbd24eb181afb50f896beb46d (patch) | |
tree | 31d2300b3057ce1d6cdf37790dd9e62a909aea47 /dix | |
parent | 43fc5307804edc9a09e7ad8794a02b5e18c4f9db (diff) |
dix: Move default screensaver defaults into globals.c
Diffstat (limited to 'dix')
-rw-r--r-- | dix/globals.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/dix/globals.c b/dix/globals.c index 7f5dc7c51..c0779dddc 100644 --- a/dix/globals.c +++ b/dix/globals.c @@ -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; |