aboutsummaryrefslogtreecommitdiff
path: root/src/event.rs
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2018-01-03 17:55:39 +0100
committerJoe Wilm <jwilm@users.noreply.github.com>2018-01-03 11:15:57 -0800
commit7b4ba80bb195b862f50c16263405a9507f99bb82 (patch)
treef4532f272c5ce66dde25cd47325cbb31fcce7cd5 /src/event.rs
parentf625257fc8e5ca1b71c6e292b10e38fa684a85a7 (diff)
downloadalacritty-7b4ba80bb195b862f50c16263405a9507f99bb82.tar.gz
alacritty-7b4ba80bb195b862f50c16263405a9507f99bb82.zip
Pass ModifiersState to mouse_moved method too
Diffstat (limited to 'src/event.rs')
-rw-r--r--src/event.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event.rs b/src/event.rs
index 22b42ae7..3dce4d66 100644
--- a/src/event.rs
+++ b/src/event.rs
@@ -310,7 +310,7 @@ impl<N: Notify> Processor<N> {
let y = limit(y, 0, processor.ctx.size_info.height as i32);
*hide_cursor = false;
- processor.mouse_moved(x as u32, y as u32, modifiers.shift);
+ processor.mouse_moved(x as u32, y as u32, modifiers);
if !processor.ctx.selection.is_none() {
processor.ctx.terminal.dirty = true;