glutin: Stop recompositing every time the event loop is kicked awake.

This commit is contained in:
Patrick Walton 2015-04-10 10:29:54 -07:00
parent fd352323e0
commit aee7f5772e

View file

@ -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);
}
_ => {}