mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
glutin: Stop recompositing every time the event loop is kicked awake.
This commit is contained in:
parent
fd352323e0
commit
aee7f5772e
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@ impl Window {
|
||||||
self.scroll_window(dx, dy);
|
self.scroll_window(dx, dy);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
Event::Refresh | Event::Awakened => {
|
Event::Refresh => {
|
||||||
self.event_queue.borrow_mut().push(WindowEvent::Refresh);
|
self.event_queue.borrow_mut().push(WindowEvent::Refresh);
|
||||||
}
|
}
|
||||||
_ => {}
|
_ => {}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue