diff --git a/winit/src/platform_specific/wayland/handlers/seat/pointer.rs b/winit/src/platform_specific/wayland/handlers/seat/pointer.rs index 798ecbe74b..a9bca881cb 100644 --- a/winit/src/platform_specific/wayland/handlers/seat/pointer.rs +++ b/winit/src/platform_specific/wayland/handlers/seat/pointer.rs @@ -117,14 +117,14 @@ impl PointerHandler for SctkState { device_id: Default::default(), delta: if horizontal.discrete > 0 { MouseScrollDelta::LineDelta( - horizontal.discrete as f32, - vertical.discrete as f32, + -horizontal.discrete as f32, + -vertical.discrete as f32, ) } else { MouseScrollDelta::PixelDelta( PhysicalPosition::new( - horizontal.absolute, - vertical.absolute, + -horizontal.absolute, + -vertical.absolute, ), ) },