mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-25 08:20:05 +01:00
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>
(cherry picked from commit 2a763c9023)
This commit is contained in:
parent
6906251832
commit
db4b69c77f
1 changed files with 1 additions and 3 deletions
|
|
@ -161,9 +161,7 @@ int main(int argc, char *argv[], char *envp[])
|
|||
ScreenSaverBlanking = defaultScreenSaverBlanking;
|
||||
ScreenSaverAllowExposures = defaultScreenSaverAllowExposures;
|
||||
#ifdef DPMSExtension
|
||||
DPMSStandbyTime = DEFAULT_SCREEN_SAVER_TIME;
|
||||
DPMSSuspendTime = DEFAULT_SCREEN_SAVER_TIME;
|
||||
DPMSOffTime = DEFAULT_SCREEN_SAVER_TIME;
|
||||
DPMSStandbyTime = DPMSSuspendTime = DPMSOffTime = ScreenSaverTime;
|
||||
DPMSEnabled = TRUE;
|
||||
DPMSPowerLevel = 0;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue