Commit 5dbd136435dbeea6d4e2c227b6882260436106b6

Ran Benita 2014-02-07T20:58:19

action: change xkb_pointer_button_action::button to uint8_t In XkbPtrBtnAction it is unsigned char, don't know how it became signed. Signed-off-by: Ran Benita <ran234@gmail.com>

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/keymap.h b/src/keymap.h
index 5f514ec..4bf247b 100644
--- a/src/keymap.h
+++ b/src/keymap.h
@@ -223,7 +223,7 @@ struct xkb_pointer_button_action {
     enum xkb_action_type type;
     enum xkb_action_flags flags;
     uint8_t count;
-    int8_t button;
+    uint8_t button;
 };
 
 struct xkb_private_action {