diff options
author | Daniel Stone <daniels@collabora.com> | 2023-04-11 12:07:19 +0100 |
---|---|---|
committer | Pekka Paalanen <pq@iki.fi> | 2023-04-11 11:44:34 +0000 |
commit | 052e63eecf812279cf2ef0063e1e6a2357f10499 (patch) | |
tree | ecccc9cd98bca2a6fadfa474d3108704c17e7e19 | |
parent | a991691eeeb009c14897674afe5117c1ed77c581 (diff) | |
download | weston-052e63eecf812279cf2ef0063e1e6a2357f10499.tar.gz |
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>
-rw-r--r-- | libweston/bindings.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libweston/bindings.c b/libweston/bindings.c index 2f6ce215..4d2ad94f 100644 --- a/libweston/bindings.c +++ b/libweston/bindings.c @@ -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) { |