Make buttons unsigned, there are no negative button numbers

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2013-12-05 17:04:09 +10:00
parent 56f7ddec82
commit 74955e0b95

View file

@ -148,7 +148,7 @@ struct libinput_event_pointer_motion_absolute {
struct libinput_event_pointer_button {
struct libinput_event base;
uint32_t time;
int32_t button;
uint32_t button;
enum libinput_pointer_button_state state;
};