diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2023-08-09 14:19:22 +0400 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2023-08-10 14:50:51 +0400 |
| commit | c50e22d415f09dd15e164cff06c76e95102f3cf6 (patch) | |
| tree | 70e20e0dd207f5241474321a717d5d6a1bbddb03 /src/input.rs | |
| parent | 396ab935859f4eb46b3cf7aa36e7b496b5898b72 (diff) | |
| download | niri-c50e22d415f09dd15e164cff06c76e95102f3cf6.tar.gz niri-c50e22d415f09dd15e164cff06c76e95102f3cf6.tar.bz2 niri-c50e22d415f09dd15e164cff06c76e95102f3cf6.zip | |
Add comment about crash
Diffstat (limited to 'src/input.rs')
| -rw-r--r-- | src/input.rs | 1 |
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); |
