mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-18 01:20:43 +01:00
dix: don't set time to CurrentTime in DeviceChangedEvents.
CurrentTime is used by clients to skip setting the time, but not by the
server.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Keith Packard <keithp@keithp.com>
(cherry picked from commit 86560b5d05)
This commit is contained in:
parent
72e3e6f4a7
commit
5a29cb126d
1 changed files with 1 additions and 1 deletions
|
|
@ -2347,7 +2347,7 @@ RecalculateMasterButtons(DeviceIntPtr slave)
|
|||
|
||||
event.header = ET_Internal;
|
||||
event.type = ET_DeviceChanged;
|
||||
event.time = CurrentTime;
|
||||
event.time = GetTimeInMillis();
|
||||
event.deviceid = master->id;
|
||||
event.flags = DEVCHANGE_POINTER_EVENT | DEVCHANGE_DEVICE_CHANGE;
|
||||
event.buttons.num_buttons = maxbuttons;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue