core: Make time argument to internal foo_notify_bar functions 64 bit
authorHans de Goede <hdegoede@redhat.com>
Sun, 28 Sep 2014 11:21:00 +0000 (13:21 +0200)
committerPeter Hutterer <peter.hutterer@who-t.net>
Thu, 6 Nov 2014 05:08:28 +0000 (15:08 +1000)
commit1113a3f4f83c2cd1cd90adc82289f896f0f6f912
tree9d4709ccec3901315246a6b5d07c229e3434fa30
parentba30abff77c6f7ac12df1b2f9ad913ae8460c3c9
core: Make time argument to internal foo_notify_bar functions 64 bit

The libinput evdev code uses 64 bit timestamps internally, to avoid having to
deal with timestamp wraps. The internal foo_notify_bar functions time argument
however is only 32 bits, bump this to 64 bits to avoid truncating the timestamps
when calling these functions.

This is a preparation patch for adding internal event listeners, so that the
callbacks for these can get the full 64 bit timestamps.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
src/libinput-private.h
src/libinput.c