From 958a32767ff9e06dc569eb612da889bfa06970be Mon Sep 17 00:00:00 2001 From: chetgurevitch Date: Mon, 11 Dec 2017 19:37:53 -0800 Subject: Update glutin to v0.11 --- src/event.rs | 2 +- src/window.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 Processor { 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>> { self.window - .get_inner_size_pixels() + .get_inner_size() .map(|(w, h)| Size { width: Pixels(w), height: Pixels(h) }) } -- cgit