From 368ced1f2961b614190ad3a344fad7ad2e252439 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 9 Nov 2015 15:38:55 +1000 Subject: [PATCH] tablet: widen the tool id to 64 bits Signed-off-by: Peter Hutterer Reviewed-by: Hans de Goede --- src/libinput.c | 2 +- src/libinput.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libinput.c b/src/libinput.c index a05148f5..79e4863c 100644 --- a/src/libinput.c +++ b/src/libinput.c @@ -1101,7 +1101,7 @@ libinput_tool_get_type(struct libinput_tool *tool) return tool->type; } -LIBINPUT_EXPORT uint32_t +LIBINPUT_EXPORT uint64_t libinput_tool_get_tool_id(struct libinput_tool *tool) { return tool->tool_id; diff --git a/src/libinput.h b/src/libinput.h index 3962b9d6..018dbd4a 100644 --- a/src/libinput.h +++ b/src/libinput.h @@ -1583,7 +1583,7 @@ libinput_tool_get_type(struct libinput_tool *tool); * * @see libinput_tool_get_type */ -uint32_t +uint64_t libinput_tool_get_tool_id(struct libinput_tool *tool); /**