summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxVerevkin <maxxverrr@gmail.com>2023-06-02 15:08:20 +0300
committerMaxVerevkin <maxxverrr@gmail.com>2023-06-02 15:08:20 +0300
commit9f49fb59d27af0c456fb68f7f24a81de028546be (patch)
tree561ecfd808d93f96fdaa96f03bf466f99fe4a7c9
parent1fae2dd97b0ad72653e05215fd7f361f38ca9837 (diff)
downloadi3bar-mango-9f49fb59d27af0c456fb68f7f24a81de028546be.tar.gz
fix typo
-rw-r--r--src/state.rs6
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 {