aboutsummaryrefslogtreecommitdiff
path: root/src/event.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2017-01-06 20:44:51 -0800
committerManish Goregaokar <manishsmail@gmail.com>2017-01-06 20:44:51 -0800
commit4e1f4c8cd7180606156b71ad0222f60e4559f2b3 (patch)
tree28d7a983f5639270976de1f794cc54cb349ea4a8 /src/event.rs
parent49187d53f2f8b7cfca9105c3fb00d7c29e2a457b (diff)
downloadalacritty-4e1f4c8cd7180606156b71ad0222f60e4559f2b3.tar.gz
alacritty-4e1f4c8cd7180606156b71ad0222f60e4559f2b3.zip
Clippy fixes!
Diffstat (limited to 'src/event.rs')
-rw-r--r--src/event.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/event.rs b/src/event.rs
index 66abbaa2..bdfe2708 100644
--- a/src/event.rs
+++ b/src/event.rs
@@ -153,12 +153,10 @@ impl<N: Notify> Processor<N> {
processor.ctx.terminal.dirty = true;
}
},
- glutin::Event::Focused(true) => {
- processor.ctx.terminal.dirty = true;
- },
glutin::Event::MouseWheel(scroll_delta, touch_phase) => {
processor.on_mouse_wheel(scroll_delta, touch_phase);
},
+ glutin::Event::Focused(true) |
glutin::Event::Refresh |
glutin::Event::Awakened => {
processor.ctx.terminal.dirty = true;