Change button from int to uint32_t

Since you can't really have a negative button number.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
This commit is contained in:
Daniel Stone
2012-05-04 11:21:55 +01:00
committed by Kristian Høgsberg
parent da5b93c8d7
commit 5d66371743
13 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -485,7 +485,7 @@ x11_compositor_deliver_button_event(struct x11_compositor *c,
{
xcb_button_press_event_t *button_event =
(xcb_button_press_event_t *) event;
int button;
uint32_t button;
switch (button_event->detail) {
default: