input: Fix uint/enum declaration mismatch

We were declaring that the binding handler took an enum in the
declaration (good!), but then using a uint in the definition (oops).

cf. wayland/weston!1205

Signed-off-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
Daniel Stone 2023-04-11 12:07:19 +01:00 committed by Pekka Paalanen
parent a991691eee
commit 052e63eecf
1 changed files with 2 additions and 1 deletions

View File

@ -142,7 +142,8 @@ weston_compositor_add_touch_binding(struct weston_compositor *compositor,
WL_EXPORT struct weston_binding *
weston_compositor_add_tablet_tool_binding(struct weston_compositor *compositor,
uint32_t button, uint32_t modifier,
uint32_t button,
enum weston_keyboard_modifier modifier,
weston_tablet_tool_binding_handler_t handler,
void *data)
{