aboutsummaryrefslogtreecommitdiff
path: root/src/event.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/event.rs')
-rw-r--r--src/event.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/event.rs b/src/event.rs
index 8d2d80e4..14ec0b0e 100644
--- a/src/event.rs
+++ b/src/event.rs
@@ -195,6 +195,7 @@ pub struct Processor<N> {
key_bindings: Vec<KeyBinding>,
mouse_bindings: Vec<MouseBinding>,
mouse_config: config::Mouse,
+ scrolling_config: config::Scrolling,
print_events: bool,
wait_for_event: bool,
notifier: N,
@@ -236,6 +237,7 @@ impl<N: Notify> Processor<N> {
key_bindings: config.key_bindings().to_vec(),
mouse_bindings: config.mouse_bindings().to_vec(),
mouse_config: config.mouse().to_owned(),
+ scrolling_config: config.scrolling(),
print_events: options.print_events,
wait_for_event: true,
notifier,
@@ -404,6 +406,7 @@ impl<N: Notify> Processor<N> {
processor = input::Processor {
ctx: context,
+ scrolling_config: &self.scrolling_config,
mouse_config: &self.mouse_config,
key_bindings: &self.key_bindings[..],
mouse_bindings: &self.mouse_bindings[..],