summaryrefslogtreecommitdiff
path: root/dix/events.c
diff options
context:
space:
mode:
authorRui Matos <tiagomatos@gmail.com>2015-04-25 21:19:25 +0200
committerKeith Packard <keithp@keithp.com>2015-05-11 15:40:04 -0700
commitfa62ca68ef8be7f63cd0b899dfae3366ca9350cf (patch)
treedfce23f964e6a180b89130fa467e02de04c2463d /dix/events.c
parent26e50e8b2cbd01d050b5ecc02d47488b53ecc08b (diff)
dix/events: Set currentTime to the given time stamp in NoticeTime
The refactoring in commit efc1035ca958f2c9d266338a308518a0834b1773 removed the actual update of currentTime. Signed-off-by: Rui Matos <tiagomatos@gmail.com> Acked-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'dix/events.c')
-rw-r--r--dix/events.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dix/events.c b/dix/events.c
index 7d2bb6b4e..efaf91d2b 100644
--- a/dix/events.c
+++ b/dix/events.c
@@ -1057,6 +1057,7 @@ MonthChangedOrBadTime(CARD32 *ms)
void
NoticeTime(const DeviceIntPtr dev, TimeStamp time)
{
+ currentTime = time;
lastDeviceEventTime[XIAllDevices].time = currentTime;
lastDeviceEventTime[dev->id].time = currentTime;