projects
/
platform
/
upstream
/
libinput.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56f7dde
)
Make buttons unsigned, there are no negative button numbers
author
Peter Hutterer
<peter.hutterer@who-t.net>
Thu, 5 Dec 2013 07:04:09 +0000
(17:04 +1000)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Fri, 6 Dec 2013 03:52:07 +0000
(13:52 +1000)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
src/libinput.h
patch
|
blob
|
history
diff --git
a/src/libinput.h
b/src/libinput.h
index e9be9a41782c3f815dacac0a8b30e3ae9e1a00bc..d3eb2ea344a199184e74875b6afc735e4274c433 100644
(file)
--- a/
src/libinput.h
+++ b/
src/libinput.h
@@
-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;
+
u
int32_t button;
enum libinput_pointer_button_state state;
};