diff options
| author | MaxVerevkin <maxxverrr@gmail.com> | 2023-06-02 15:08:20 +0300 |
|---|---|---|
| committer | MaxVerevkin <maxxverrr@gmail.com> | 2023-06-02 15:08:20 +0300 |
| commit | 9f49fb59d27af0c456fb68f7f24a81de028546be (patch) | |
| tree | 561ecfd808d93f96fdaa96f03bf466f99fe4a7c9 /src/state.rs | |
| parent | 1fae2dd97b0ad72653e05215fd7f361f38ca9837 (diff) | |
| download | i3bar-mango-9f49fb59d27af0c456fb68f7f24a81de028546be.tar.gz | |
fix typo
Diffstat (limited to 'src/state.rs')
| -rw-r--r-- | src/state.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/state.rs b/src/state.rs index 23f8bea..7419357 100644 --- a/src/state.rs +++ b/src/state.rs @@ -345,7 +345,7 @@ fn wl_pointer_cb( .unwrap(); } - if scroll.is_finder && state.shared_state.config.invert_touchpad_scrolling { + if scroll.is_finger && state.shared_state.config.invert_touchpad_scrolling { pointer.pending_scroll -= scroll.absolute; } else { pointer.pending_scroll += scroll.absolute; @@ -413,7 +413,7 @@ fn wl_pointer_cb( } } Event::AxisSource(source) => { - pointer.scroll_frame.is_finder = source == wl_pointer::AxisSource::Finger; + pointer.scroll_frame.is_finger = source == wl_pointer::AxisSource::Finger; } Event::AxisStop(args) => { if args.axis == wl_pointer::Axis::VerticalScroll { @@ -452,7 +452,7 @@ fn wm_info_cb(conn: &mut Connection<State>, state: &mut State, output: WlOutput, pub struct ScrollFrame { stop: bool, absolute: f64, - is_finder: bool, + is_finger: bool, } impl ScrollFrame { |
