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
@@ -1338,7 +1338,8 @@ touch_move_grab_down(struct weston_touch_grab *grab,
}
static void
touch_move_grab_up(struct weston_touch_grab *grab, uint32_t time, int touch_id)
touch_move_grab_up(struct weston_touch_grab *grab, const struct timespec *time,
int touch_id)
{
struct weston_touch_move_grab *move =
(struct weston_touch_move_grab *) container_of(