diff options
author | Christian Duerr <contact@christianduerr.com> | 2017-12-29 21:41:51 +0100 |
---|---|---|
committer | Joe Wilm <jwilm@users.noreply.github.com> | 2018-01-03 11:15:57 -0800 |
commit | 3765598fefae023bb2909fca934cd60ad5fab20a (patch) | |
tree | 78414932e2e0891f250a5cf26c74ca63eb60c814 | |
parent | 04bfda943a2411e4c1585af3ff68d82ed4589929 (diff) | |
download | alacritty-3765598fefae023bb2909fca934cd60ad5fab20a.tar.gz alacritty-3765598fefae023bb2909fca934cd60ad5fab20a.zip |
Fix failed tests
Three was still a test which passed the whole modifiers struct instead
of just the shift bool, this has been fixed.
-rw-r--r-- | src/input.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input.rs b/src/input.rs index 604ea06b..007c57bd 100644 --- a/src/input.rs +++ b/src/input.rs @@ -703,7 +703,7 @@ mod tests { }; if let Event::WindowEvent { event: WindowEvent::MouseInput { state, button, modifiers, .. }, .. } = $input { - processor.mouse_input(state, button, modifiers); + processor.mouse_input(state, button, modifiers.shift); }; assert!(match mouse.click_state { |