dix: Default DPMS timeout values to match screensaver values
These have the same default, but if you specify something different with -s on the command line, only the screensaver time is changed. As DPMS is usually what's desired, change it to match. Signed-off-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
518f3b189b
commit
2a763c9023
|
@ -161,9 +161,7 @@ int main(int argc, char *argv[], char *envp[])
|
||||||
ScreenSaverBlanking = defaultScreenSaverBlanking;
|
ScreenSaverBlanking = defaultScreenSaverBlanking;
|
||||||
ScreenSaverAllowExposures = defaultScreenSaverAllowExposures;
|
ScreenSaverAllowExposures = defaultScreenSaverAllowExposures;
|
||||||
#ifdef DPMSExtension
|
#ifdef DPMSExtension
|
||||||
DPMSStandbyTime = DEFAULT_SCREEN_SAVER_TIME;
|
DPMSStandbyTime = DPMSSuspendTime = DPMSOffTime = ScreenSaverTime;
|
||||||
DPMSSuspendTime = DEFAULT_SCREEN_SAVER_TIME;
|
|
||||||
DPMSOffTime = DEFAULT_SCREEN_SAVER_TIME;
|
|
||||||
DPMSEnabled = TRUE;
|
DPMSEnabled = TRUE;
|
||||||
DPMSPowerLevel = 0;
|
DPMSPowerLevel = 0;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue