mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-05-08 10:08:05 +02:00
evdev: Migrate rest of 32 bit time variables to uint64_t
Makes tests pass again with long uptime. Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
This commit is contained in:
parent
e912d620d0
commit
864232bcb2
1 changed files with 4 additions and 2 deletions
|
|
@ -247,7 +247,8 @@ evdev_flush_pending_event(struct evdev_device *device, uint64_t time)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
evdev_process_touch_button(struct evdev_device *device, int time, int value)
|
evdev_process_touch_button(struct evdev_device *device,
|
||||||
|
uint64_t time, int value)
|
||||||
{
|
{
|
||||||
if (device->pending_event != EVDEV_NONE &&
|
if (device->pending_event != EVDEV_NONE &&
|
||||||
device->pending_event != EVDEV_ABSOLUTE_MOTION)
|
device->pending_event != EVDEV_ABSOLUTE_MOTION)
|
||||||
|
|
@ -259,7 +260,8 @@ evdev_process_touch_button(struct evdev_device *device, int time, int value)
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void
|
static inline void
|
||||||
evdev_process_key(struct evdev_device *device, struct input_event *e, int time)
|
evdev_process_key(struct evdev_device *device,
|
||||||
|
struct input_event *e, uint64_t time)
|
||||||
{
|
{
|
||||||
/* ignore kernel key repeat */
|
/* ignore kernel key repeat */
|
||||||
if (e->value == 2)
|
if (e->value == 2)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue