From 975d4b58a50b284a18e77ed609608c82693461a3 Mon Sep 17 00:00:00 2001 From: Ferdinand Schober Date: Wed, 17 Jul 2024 11:26:43 +0200 Subject: [PATCH] fix scrolling factor in xdp emulation --- input-emulation/src/xdg_desktop_portal.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input-emulation/src/xdg_desktop_portal.rs b/input-emulation/src/xdg_desktop_portal.rs index fedd3e2..4576a1d 100644 --- a/input-emulation/src/xdg_desktop_portal.rs +++ b/input-emulation/src/xdg_desktop_portal.rs @@ -83,7 +83,7 @@ impl<'a> InputEmulation for DesktopPortalEmulation<'a> { _ => Axis::Horizontal, }; self.proxy - .notify_pointer_axis_discrete(&self.session, axis, value) + .notify_pointer_axis_discrete(&self.session, axis, value / 120) .await?; } PointerEvent::Axis {