libweston: Use struct timespec for motion events
Change code related to 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
e6ac2afa56
commit
84b31f8956
@@ -1534,7 +1534,8 @@ layer_set_pos(struct ivi_layout_layer *layer, wl_fixed_t pos_x,
|
||||
}
|
||||
|
||||
static void
|
||||
pointer_move_grab_motion(struct weston_pointer_grab *grab, uint32_t time,
|
||||
pointer_move_grab_motion(struct weston_pointer_grab *grab,
|
||||
const struct timespec *time,
|
||||
struct weston_pointer_motion_event *event)
|
||||
{
|
||||
struct pointer_move_grab *pnt_move_grab =
|
||||
|
||||
Reference in New Issue
Block a user