aboutsummaryrefslogtreecommitdiff
path: root/src/input.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/input.rs')
-rw-r--r--src/input.rs1
1 files changed, 1 insertions, 0 deletions
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);