diff options
author | chetgurevitch <chetgurevitch@protonmail.com> | 2017-12-11 19:37:53 -0800 |
---|---|---|
committer | Joe Wilm <jwilm@users.noreply.github.com> | 2017-12-23 21:39:09 -0800 |
commit | 958a32767ff9e06dc569eb612da889bfa06970be (patch) | |
tree | 07e72f081c09a6ddabf38a26c7843d2b4eb58f82 /src | |
parent | b10390ede89c3b62c12a1b7b67c5440f8678c76b (diff) | |
download | alacritty-958a32767ff9e06dc569eb612da889bfa06970be.tar.gz alacritty-958a32767ff9e06dc569eb612da889bfa06970be.zip |
Update glutin to v0.11
Diffstat (limited to 'src')
-rw-r--r-- | src/event.rs | 2 | ||||
-rw-r--r-- | src/window.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/event.rs b/src/event.rs index 08c4d43e..c8fb83e9 100644 --- a/src/event.rs +++ b/src/event.rs @@ -303,7 +303,7 @@ impl<N: Notify> Processor<N> { processor.mouse_input(state, button); processor.ctx.terminal.dirty = true; }, - MouseMoved { position: (x, y), .. } => { + CursorMoved { position: (x, y), .. } => { let x = x as i32; let y = y as i32; let x = limit(x, 0, processor.ctx.size_info.width as i32); diff --git a/src/window.rs b/src/window.rs index 60048774..e42151fd 100644 --- a/src/window.rs +++ b/src/window.rs @@ -234,7 +234,7 @@ impl Window { pub fn inner_size_pixels(&self) -> Option<Size<Pixels<u32>>> { self.window - .get_inner_size_pixels() + .get_inner_size() .map(|(w, h)| Size { width: Pixels(w), height: Pixels(h) }) } |