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:
committed by
Kristian Høgsberg
parent
da5b93c8d7
commit
5d66371743
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user