diff options
author | Alexandros Frantzis <alexandros.frantzis@collabora.com> | 2017-11-24 18:01:46 +0200 |
---|---|---|
committer | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | 2017-11-27 11:42:07 +0200 |
commit | 84b31f895682a2f2627934d79ade15e573583ae9 (patch) | |
tree | 7b258b7724947211ba8d133b80b6c934c84cdc59 /ivi-shell | |
parent | e6ac2afa5659276e4050352a5d7626c6903fbce6 (diff) | |
download | weston-84b31f895682a2f2627934d79ade15e573583ae9.tar.gz weston-84b31f895682a2f2627934d79ade15e573583ae9.tar.bz2 weston-84b31f895682a2f2627934d79ade15e573583ae9.zip |
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>
Diffstat (limited to 'ivi-shell')
-rw-r--r-- | ivi-shell/hmi-controller.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ivi-shell/hmi-controller.c b/ivi-shell/hmi-controller.c index d5403e06..6713eca3 100644 --- a/ivi-shell/hmi-controller.c +++ b/ivi-shell/hmi-controller.c @@ -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 = |