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

Hans de Goede hdegoede at redhat.com
Fri Nov 13 01:45:50 PST 2015


Hi Peter,

Code-wise this series looks good to me. Assuming the new
"tip" behavior is the result of discussions with / a request
of toolkit people, this series is:

Reviewed-by: Hans de Goede <hdegoede at redhat.com>

Regards,

Hans


On 11-11-15 22:12, Peter Hutterer wrote:
> 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);
>
>   /**
>


More information about the wayland-devel mailing list