Revert "backends/libinput: don't multiply v120 value by scroll speed"
This reverts commit9cd52b4060
. This commit broke the adjustable scroll speed feature on Wayland. That feature may not have been implemented in the most technically ideal way, but simply breaking it and leaving the mouse KCM with UI control that does nothing isn't great. Besides, there was always a simple way to avoid any scroll-related regressions caused by this feature: reset the scroll speed to its default value, which internally is a multiplier of 1 and exercises the same codepath that9cd52b40
imposes on everyone. We can come up with a better implementation for Plasma 6. BUG: 464592 FIXED-IN: 5.27.4
This commit is contained in:
parent
c6035115f9
commit
fec40b7163
1 changed files with 1 additions and 1 deletions
|
@ -211,7 +211,7 @@ qint32 PointerEvent::scrollValueV120(InputRedirection::PointerAxis axis) const
|
|||
const libinput_pointer_axis a = (axis == InputRedirection::PointerAxisHorizontal)
|
||||
? LIBINPUT_POINTER_AXIS_SCROLL_HORIZONTAL
|
||||
: LIBINPUT_POINTER_AXIS_SCROLL_VERTICAL;
|
||||
return libinput_event_pointer_get_scroll_value_v120(m_pointerEvent, a);
|
||||
return libinput_event_pointer_get_scroll_value_v120(m_pointerEvent, a) * device()->scrollFactor();
|
||||
}
|
||||
|
||||
TouchEvent::TouchEvent(libinput_event *event, libinput_event_type type)
|
||||
|
|
Loading…
Reference in a new issue