[PATCH libinput 1/8] tablet: widen the tool id to 64 bits

Peter Hutterer peter.hutterer at who-t.net
Wed Nov 11 13:12:55 PST 2015


Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 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 a05148f..79e4863 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 3962b9d..018dbd4 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);
 
 /**
-- 
2.4.3



More information about the wayland-devel mailing list