From c50e22d415f09dd15e164cff06c76e95102f3cf6 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Wed, 9 Aug 2023 14:19:22 +0400 Subject: Add comment about crash --- src/input.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/input.rs') diff --git a/src/input.rs b/src/input.rs index 9d167a0a..ad182645 100644 --- a/src/input.rs +++ b/src/input.rs @@ -120,6 +120,7 @@ impl Niri { InputEvent::PointerAxis { event, .. } => { let source = event.source(); + // FIXME: this crashes on keyboard scroll. let horizontal_amount = event .amount(Axis::Horizontal) .unwrap_or_else(|| event.amount_discrete(Axis::Horizontal).unwrap() * 3.0); -- cgit