mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-27 05:50:06 +01:00
dix/events: Set currentTime to the given time stamp in NoticeTime
The refactoring in commitefc1035ca9removed 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> (cherry picked from commitfa62ca68ef)
This commit is contained in:
parent
1a87dbc2ce
commit
6f7a3366a2
1 changed files with 1 additions and 0 deletions
|
|
@ -1063,6 +1063,7 @@ MonthChangedOrBadTime(CARD32 *ms)
|
|||
void
|
||||
NoticeTime(const DeviceIntPtr dev, TimeStamp time)
|
||||
{
|
||||
currentTime = time;
|
||||
lastDeviceEventTime[XIAllDevices].time = currentTime;
|
||||
lastDeviceEventTime[dev->id].time = currentTime;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue