libweston: Use struct timespec for touch up events

Change code related to touch up events to use struct timespec to represent
time.

This commit is part of a larger effort to transition the Weston codebase
to struct timespec.

Signed-off-by: Alexandros Frantzis <alexandros.frantzis@collabora.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
This commit is contained in:
Alexandros Frantzis
2017-11-16 18:20:59 +02:00
committed by Pekka Paalanen
parent 9448deb073
commit 27a51b83e5
6 changed files with 17 additions and 10 deletions
+2 -1
View File
@@ -189,7 +189,8 @@ weston_desktop_seat_popup_grab_touch_down(struct weston_touch_grab *grab,
static void
weston_desktop_seat_popup_grab_touch_up(struct weston_touch_grab *grab,
uint32_t time, int touch_id)
const struct timespec *time,
int touch_id)
{
weston_touch_send_up(grab->touch, time, touch_id);
}