libweston: Use struct timespec for touch motion events
Change code related to touch motion 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
27a51b83e5
commit
7d2abcf6c8
@@ -1551,8 +1551,9 @@ pointer_move_grab_motion(struct weston_pointer_grab *grab,
|
||||
}
|
||||
|
||||
static void
|
||||
touch_move_grab_motion(struct weston_touch_grab *grab, uint32_t time,
|
||||
int touch_id, wl_fixed_t x, wl_fixed_t y)
|
||||
touch_move_grab_motion(struct weston_touch_grab *grab,
|
||||
const struct timespec *time, int touch_id,
|
||||
wl_fixed_t x, wl_fixed_t y)
|
||||
{
|
||||
struct touch_move_grab *tch_move_grab = (struct touch_move_grab *)grab;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user