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: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1241>
This commit is contained in:
José Expósito 2025-06-20 12:52:42 +02:00 committed by Marge Bot
parent 2461cdf497
commit 3a3e292d43

View file

@ -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);
}
}