mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-05 20:28:03 +02:00
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
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue