diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2017-10-21 02:04:30 +0200 |
---|---|---|
committer | Mihai Moldovan <ionic@ionic.de> | 2018-02-07 23:15:57 +0100 |
commit | 31900d41a067a16644e93068e003077bde64c077 (patch) | |
tree | bc6f558c308c39aa5af601075871f97547af858e /nx-X11/programs/Xserver/Xext | |
parent | 4ab18725cd088cbb401ef63e93ef41d8d7c78b2a (diff) | |
download | nx-libs-31900d41a067a16644e93068e003077bde64c077.tar.gz nx-libs-31900d41a067a16644e93068e003077bde64c077.tar.bz2 nx-libs-31900d41a067a16644e93068e003077bde64c077.zip |
Xext: lift DPMS extension to xorg-xserver-7.1/1.1 state
Diffstat (limited to 'nx-X11/programs/Xserver/Xext')
-rw-r--r-- | nx-X11/programs/Xserver/Xext/dpms.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nx-X11/programs/Xserver/Xext/dpms.c b/nx-X11/programs/Xserver/Xext/dpms.c index e05a70621..74969bb52 100644 --- a/nx-X11/programs/Xserver/Xext/dpms.c +++ b/nx-X11/programs/Xserver/Xext/dpms.c @@ -183,12 +183,12 @@ ProcDPMSSetTimeouts(client) client->errorValue = stuff->suspend; return BadValue; } - + DPMSStandbyTime = stuff->standby * MILLI_PER_SECOND; DPMSSuspendTime = stuff->suspend * MILLI_PER_SECOND; DPMSOffTime = stuff->off * MILLI_PER_SECOND; - SetDPMSTimers(); - + SetScreenSaverTimer(); + return(client->noClientException); } |