diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2010-08-24 13:46:35 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2010-09-02 16:12:55 +1000 |
commit | 86560b5d05f14bdf04d21b3457a66c0d5045db9c (patch) | |
tree | 5ef3e11cf3f63e520d7e472e2abeec9cf5156259 /dix | |
parent | ff055506f0cbb852bed17acb9f9bbf1d715a854e (diff) |
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>
Diffstat (limited to 'dix')
-rw-r--r-- | dix/devices.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dix/devices.c b/dix/devices.c index f5d295295..e506f6ac1 100644 --- a/dix/devices.c +++ b/dix/devices.c @@ -2352,7 +2352,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; |