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
@@ -197,7 +197,8 @@ weston_desktop_seat_popup_grab_touch_up(struct weston_touch_grab *grab,
|
||||
|
||||
static void
|
||||
weston_desktop_seat_popup_grab_touch_motion(struct weston_touch_grab *grab,
|
||||
uint32_t time, int touch_id,
|
||||
const struct timespec *time,
|
||||
int touch_id,
|
||||
wl_fixed_t sx, wl_fixed_t sy)
|
||||
{
|
||||
weston_touch_send_motion(grab->touch, time, touch_id, sx, sy);
|
||||
|
||||
Reference in New Issue
Block a user