diff options
author | Fredrik Höglund <fredrik@kde.org> | 2006-03-24 20:50:13 +0000 |
---|---|---|
committer | Fredrik Höglund <fredrik@kde.org> | 2006-03-24 20:50:13 +0000 |
commit | ae935832facfa81a9689882406ecca74b0346790 (patch) | |
tree | 1a0ebe7f71e7fe26be2ff383386b1d0ed01539f5 /Xext | |
parent | d1746ec0f0c8a0b750f390e7a7faf21b67683f4a (diff) |
Refactored the screensaver and DPMS timer code to use the screensaver timer
for both screensaver and DPMS. Removed the SetDPMSTimers() and
FreeDPMSTimers() functions.
Diffstat (limited to 'Xext')
-rw-r--r-- | Xext/dpms.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Xext/dpms.c b/Xext/dpms.c index 3e79602d1..ea0a1ccdf 100644 --- a/Xext/dpms.c +++ b/Xext/dpms.c @@ -189,12 +189,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); } |