commit | 5d663717434d1a61583b948f414f848b883cc5b0 | [log] [tgz] |
---|---|---|
author | Daniel Stone <daniel@fooishbar.org> | Fri May 04 11:21:55 2012 +0100 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Mon May 07 12:57:11 2012 -0400 |
tree | 7f3933957a680e03099c206dad07e4e2f66360d2 | |
parent | da5b93c8d7d093aa9fcaa80c8f577d6f3fdbb9da [diff] |
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>
diff --git a/src/compositor-x11.c b/src/compositor-x11.c index 304a4d5..d363572 100644 --- a/src/compositor-x11.c +++ b/src/compositor-x11.c
@@ -485,7 +485,7 @@ { xcb_button_press_event_t *button_event = (xcb_button_press_event_t *) event; - int button; + uint32_t button; switch (button_event->detail) { default: