mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-20 04:30:06 +01:00
evdev: don't truncate event time to 32 bits
This causes a bunch of "your system is too slow" messages in e.g. the various gesture tests. Fixes95a72990Fixes #601 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> (cherry picked from commit04dc67e092)
This commit is contained in:
parent
eea702e30a
commit
b8d79df696
1 changed files with 1 additions and 1 deletions
|
|
@ -1024,7 +1024,7 @@ evdev_note_time_delay(struct evdev_device *device,
|
|||
{
|
||||
struct libinput *libinput = evdev_libinput_context(device);
|
||||
uint32_t tdelta;
|
||||
uint32_t eventtime = input_event_time(ev);
|
||||
uint64_t eventtime = input_event_time(ev);
|
||||
|
||||
/* if we have a current libinput_dispatch() snapshot, compare our
|
||||
* event time with the one from the snapshot. If we have more than
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue