summaryrefslogtreecommitdiff
path: root/Xext
diff options
context:
space:
mode:
authorFredrik Höglund <fredrik@kde.org>2006-03-24 20:50:13 +0000
committerFredrik Höglund <fredrik@kde.org>2006-03-24 20:50:13 +0000
commitae935832facfa81a9689882406ecca74b0346790 (patch)
tree1a0ebe7f71e7fe26be2ff383386b1d0ed01539f5 /Xext
parentd1746ec0f0c8a0b750f390e7a7faf21b67683f4a (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.c6
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);
}