On Mon, 15 Feb 2010 16:54:35 -0500, Adam Jackson <[email protected]> wrote:
> 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 <[email protected]>

Seems reasonable to me.

Reviewed-by: Keith Packard <[email protected]>

> ---
>  dix/main.c |    4 +---
>  1 files changed, 1 insertions(+), 3 deletions(-)
> 
> diff --git a/dix/main.c b/dix/main.c
> index f023536..b500ad7 100644
> --- a/dix/main.c
> +++ b/dix/main.c
> @@ -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
> -- 
> 1.6.5.2
> 
> _______________________________________________
> xorg-devel mailing list
> [email protected]
> http://lists.x.org/mailman/listinfo/xorg-devel

-- 
[email protected]

Attachment: pgp2JfWEGbZpE.pgp
Description: PGP signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to