mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-03-22 02:10:40 +01:00
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:
parent
2461cdf497
commit
3a3e292d43
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue