From 3a3e292d4336af8b378780febc3ea712c153556e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Exp=C3=B3sito?= Date: Fri, 20 Jun 2025 12:52:42 +0200 Subject: [PATCH] wheel: Rename scroll timeout callback function The function name doesn't represent what the function really does. Rename it and be consistent with the naming of other related functions like wheel_set_scroll_timer() or wheel_cancel_scroll_timer(). Part-of: --- src/evdev-wheel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/evdev-wheel.c b/src/evdev-wheel.c index 6c396bef..2c231463 100644 --- a/src/evdev-wheel.c +++ b/src/evdev-wheel.c @@ -421,7 +421,7 @@ fallback_wheel_handle_state(struct fallback_dispatch *dispatch, } static void -wheel_init_scroll_timer(uint64_t now, void *data) +wheel_on_scroll_timer_timeout(uint64_t now, void *data) { struct evdev_device *device = data; struct fallback_dispatch *dispatch = @@ -466,7 +466,7 @@ fallback_init_wheel(struct fallback_dispatch *dispatch, libinput_timer_init(&dispatch->wheel.scroll_timer, evdev_libinput_context(device), timer_name, - wheel_init_scroll_timer, + wheel_on_scroll_timer_timeout, device); } }