aboutsummaryrefslogtreecommitdiff
path: root/src/event.rs
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2018-01-03 17:52:49 +0100
committerJoe Wilm <jwilm@users.noreply.github.com>2018-01-03 11:15:57 -0800
commitf625257fc8e5ca1b71c6e292b10e38fa684a85a7 (patch)
tree114c8391a1d25c18e9155e82e7618e80c5cb7663 /src/event.rs
parentf6f5a73528635d9da83f71bc9121dbb105eae0ad (diff)
downloadalacritty-f625257fc8e5ca1b71c6e292b10e38fa684a85a7.tar.gz
alacritty-f625257fc8e5ca1b71c6e292b10e38fa684a85a7.zip
Pass ModifiersState to mouse input as whole
ModifiersState is now passed to the mouse methods in `input.rs` as a whole instead of just passing the `shift` state. This should make it a bit easier to do changes in the future.
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 c43ba2b3..22b42ae7 100644
--- a/src/event.rs
+++ b/src/event.rs
@@ -300,7 +300,7 @@ impl<N: Notify> Processor<N> {
},
MouseInput { state, button, modifiers, .. } => {
*hide_cursor = false;
- processor.mouse_input(state, button, modifiers.shift);
+ processor.mouse_input(state, button, modifiers);
processor.ctx.terminal.dirty = true;
},
CursorMoved { position: (x, y), modifiers, .. } => {