mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-20 06:50:05 +01:00
plugin/wheel: don't cancel the timer before re-setting it
Not needed and it saves us a bit of busywork. Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1260>
This commit is contained in:
parent
892e5d35c7
commit
9b7f933797
1 changed files with 0 additions and 1 deletions
|
|
@ -178,7 +178,6 @@ wheel_handle_event_on_state_scrolling(struct plugin_device *pd,
|
|||
{
|
||||
switch (event) {
|
||||
case WHEEL_EVENT_SCROLL:
|
||||
wheel_cancel_scroll_timer(pd);
|
||||
wheel_set_scroll_timer(pd, time);
|
||||
break;
|
||||
case WHEEL_EVENT_SCROLL_TIMEOUT:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue