From 2aec703c2e8e636e7cdd617880175ffcd72b6683 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 5 Dec 2013 17:04:42 +1000 Subject: [PATCH] Make the slots unsigned, the kernel guarantees a base of 0 Signed-off-by: Peter Hutterer --- src/libinput.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libinput.h b/src/libinput.h index d3eb2ea3..fdb755d3 100644 --- a/src/libinput.h +++ b/src/libinput.h @@ -162,7 +162,7 @@ struct libinput_event_pointer_axis { struct libinput_event_touch_touch { struct libinput_event base; uint32_t time; - int32_t slot; + uint32_t slot; li_fixed_t x; li_fixed_t y; enum libinput_touch_type touch_type;