From aee7f5772ef97699b14b93a6f0bd002c99c45275 Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Fri, 10 Apr 2015 10:29:54 -0700 Subject: [PATCH] glutin: Stop recompositing every time the event loop is kicked awake. --- ports/glutin/window.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ports/glutin/window.rs b/ports/glutin/window.rs index 036ac5484c3..27938ee33f4 100644 --- a/ports/glutin/window.rs +++ b/ports/glutin/window.rs @@ -194,7 +194,7 @@ impl Window { self.scroll_window(dx, dy); } }, - Event::Refresh | Event::Awakened => { + Event::Refresh => { self.event_queue.borrow_mut().push(WindowEvent::Refresh); } _ => {}