aboutsummaryrefslogtreecommitdiff
path: root/src/event.rs
diff options
context:
space:
mode:
authorJoe Wilm <jwilm@users.noreply.github.com>2017-01-06 21:51:24 -0800
committerGitHub <noreply@github.com>2017-01-06 21:51:24 -0800
commit852c2d8f15bfc11f0222fa08626c38724accd35a (patch)
tree0880b8e38d76ae4ba0fb1772fbd11cae53168729 /src/event.rs
parent62739bd226974358a811b4680b4b74c268418f5b (diff)
parent4e1f4c8cd7180606156b71ad0222f60e4559f2b3 (diff)
downloadr-alacritty-852c2d8f15bfc11f0222fa08626c38724accd35a.tar.gz
r-alacritty-852c2d8f15bfc11f0222fa08626c38724accd35a.tar.bz2
r-alacritty-852c2d8f15bfc11f0222fa08626c38724accd35a.zip
Merge pull request #131 from Manishearth/stable
Make it compile on stable Rust (almost)
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;