summaryrefslogtreecommitdiff
path: root/xserver/os/WaitFor.c
diff options
context:
space:
mode:
Diffstat (limited to 'xserver/os/WaitFor.c')
-rw-r--r--xserver/os/WaitFor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xserver/os/WaitFor.c b/xserver/os/WaitFor.c
index 59f3af649..393890f19 100644
--- a/xserver/os/WaitFor.c
+++ b/xserver/os/WaitFor.c
@@ -561,7 +561,7 @@ NextDPMSTimeout(INT32 timeout)
static CARD32
ScreenSaverTimeoutExpire(OsTimerPtr timer, CARD32 now, pointer arg)
{
- INT32 timeout = now - lastDeviceEventTime.milliseconds;
+ INT32 timeout = now - lastDeviceEventTime[XIAllDevices].milliseconds;
CARD32 nextTimeout = 0;
#ifdef DPMSExtension