Use enum wl_keyboard_key_state instead of integer
authorDaniel Stone <daniel@fooishbar.org>
Wed, 30 May 2012 15:31:52 +0000 (16:31 +0100)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 31 May 2012 19:43:03 +0000 (15:43 -0400)
commitc9785eacca7fe48119547bc7ed476754d8bcf610
treedaab9cadd0b852786aaffe124862a1839cfc4e44
parent4dbadb1556f296cf148ed91a1044004ec6c80707
Use enum wl_keyboard_key_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_keyboard_key_state enum, and explicit comparisons.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
14 files changed:
clients/clickdot.c
clients/eventdemo.c
clients/resizor.c
clients/terminal.c
clients/view.c
clients/window.c
clients/window.h
src/compositor-wayland.c
src/compositor-x11.c
src/compositor.c
src/compositor.h
src/evdev.c
src/shell.c
src/util.c