diff --git a/iced_layershell/src/event.rs b/iced_layershell/src/event.rs index 789c010..6367802 100644 --- a/iced_layershell/src/event.rs +++ b/iced_layershell/src/event.rs @@ -227,7 +227,7 @@ impl From<&DispatchMessage> for IcedLayerEvent From<&DispatchMessage> for IcedSessionLockEvent y: -vertical.discrete as f32, }); } - IcedSessionLockEvent::Window(WindowEvent::Axis { + IcedSessionLockEvent::Window(WindowEvent::PixelDelta { x: -horizontal.absolute as f32, y: -vertical.absolute as f32, })