diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2013-12-08 10:53:03 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2013-12-08 10:53:03 +0000 |
commit | dcd2a9024f6c62f64a6014e56914dede60ad2f5f (patch) | |
tree | 9ba5dd8839bb3dd4434eb511c2fc7f03b9600207 /xserver/os/xdmcp.c | |
parent | d86224ecd984420f952f9e4b732d72631e7090ed (diff) |
Update to xserver 1.14.4
Diffstat (limited to 'xserver/os/xdmcp.c')
-rw-r--r-- | xserver/os/xdmcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xserver/os/xdmcp.c b/xserver/os/xdmcp.c index 0538ac53e..11f11333d 100644 --- a/xserver/os/xdmcp.c +++ b/xserver/os/xdmcp.c @@ -1391,7 +1391,7 @@ recv_alive_msg(unsigned length) if (SessionRunning && AliveSessionID == SessionID) { /* backoff dormancy period */ state = XDM_RUN_SESSION; - if ((GetTimeInMillis() - lastDeviceEventTime[XIAllDevices].milliseconds) > + if ((GetTimeInMillis() - LastEventTime(XIAllDevices).milliseconds) > keepaliveDormancy * 1000) { keepaliveDormancy <<= 1; if (keepaliveDormancy > XDM_MAX_DORMANCY) |