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:
committed by
Pekka Paalanen
parent
9448deb073
commit
27a51b83e5
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user