Use enum wl_pointer_button_state instead of integer
authorDaniel Stone <daniel@fooishbar.org>
Wed, 30 May 2012 15:31:51 +0000 (16:31 +0100)
committerJonas Ådahl <jadahl@gmail.com>
Sun, 10 Nov 2013 16:51:29 +0000 (17:51 +0100)
commit95b8738f31bef538457a2a64a1feb028d618babc
treedbea78d3d9a852ca32ad08a98309a69a1818e039
parenta6cd4965e992d6fc3f4526013fdfc07a01338fa0
Use enum wl_pointer_button_state instead of integer

Instead of using a uint32_t for state everywhere (except on the wire,
where that's still the call signature), use the new
wl_pointer_button_state enum, and explicit comparisons.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
src/evdev-touchpad.c
src/evdev.c