diff --git a/src/backends/libinput/events.cpp b/src/backends/libinput/events.cpp index c6edde4bca..bd8facd3d9 100644 --- a/src/backends/libinput/events.cpp +++ b/src/backends/libinput/events.cpp @@ -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)