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:
parent
a991691eee
commit
052e63eecf
|
@ -142,7 +142,8 @@ weston_compositor_add_touch_binding(struct weston_compositor *compositor,
|
||||||
|
|
||||||
WL_EXPORT struct weston_binding *
|
WL_EXPORT struct weston_binding *
|
||||||
weston_compositor_add_tablet_tool_binding(struct weston_compositor *compositor,
|
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,
|
weston_tablet_tool_binding_handler_t handler,
|
||||||
void *data)
|
void *data)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue