libweston: Use struct timespec for key events

Change code related to key 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:
Alexandros Frantzis
2017-11-16 18:20:57 +02:00
committed by Pekka Paalanen
parent 80321942e7
commit 47e79c860b
22 changed files with 126 additions and 87 deletions
+1 -1
View File
@@ -376,7 +376,7 @@ shell_destroy(struct wl_listener *listener, void *data)
}
static void
terminate_binding(struct weston_keyboard *keyboard, uint32_t time,
terminate_binding(struct weston_keyboard *keyboard, const struct timespec *time,
uint32_t key, void *data)
{
struct weston_compositor *compositor = data;