summaryrefslogtreecommitdiff
path: root/ivi-shell
diff options
context:
space:
mode:
authorAlexandros Frantzis <alexandros.frantzis@collabora.com>2017-11-16 18:20:58 +0200
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>2017-11-27 11:42:07 +0200
commit9448deb07341632b5826422f657d44fc792ab83b (patch)
tree7d6a57d92527c346d2387f03e0da4f2fafb4490d /ivi-shell
parent47e79c860b3bd90de757230ff7db4822d95b9113 (diff)
libweston: Use struct timespec for touch down events
Change code related to touch down 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.c3
-rw-r--r--ivi-shell/ivi-shell.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/ivi-shell/hmi-controller.c b/ivi-shell/hmi-controller.c
index d61e26b5..9b99668c 100644
--- a/ivi-shell/hmi-controller.c
+++ b/ivi-shell/hmi-controller.c
@@ -1584,7 +1584,8 @@ pointer_move_workspace_grab_button(struct weston_pointer_grab *grab,
}
static void
-touch_nope_grab_down(struct weston_touch_grab *grab, uint32_t time,
+touch_nope_grab_down(struct weston_touch_grab *grab,
+ const struct timespec *time,
int touch_id, wl_fixed_t sx, wl_fixed_t sy)
{
}
diff --git a/ivi-shell/ivi-shell.c b/ivi-shell/ivi-shell.c
index e675a3bd..766a1fd1 100644
--- a/ivi-shell/ivi-shell.c
+++ b/ivi-shell/ivi-shell.c
@@ -463,7 +463,8 @@ click_to_activate_binding(struct weston_pointer *pointer,
}
static void
-touch_to_activate_binding(struct weston_touch *touch, uint32_t time,
+touch_to_activate_binding(struct weston_touch *touch,
+ const struct timespec *time,
void *data)
{
if (touch->grab != &touch->default_grab)