Use unsigned for key/button up/down state in grabs

Since we just use it as a simple boolean flag, might as well convert it
to unsigned.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
This commit is contained in:
Daniel Stone 2012-05-04 11:21:20 +01:00 committed by Kristian Høgsberg
parent 3de517a092
commit 3f7048e0e9
3 changed files with 5 additions and 5 deletions

View file

@ -253,7 +253,7 @@ data_device_end_drag_grab(struct wl_input_device *device)
static void
drag_grab_button(struct wl_pointer_grab *grab,
uint32_t time, uint32_t button, int32_t state)
uint32_t time, uint32_t button, uint32_t state)
{
struct wl_input_device *device =
container_of(grab, struct wl_input_device, drag_grab);