mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
compositing: Support multiple events per frame.
Improves scrolling performance on Mac.
This commit is contained in:
parent
e52197d126
commit
0098d9e9e8
12 changed files with 67 additions and 59 deletions
|
@ -66,7 +66,7 @@ impl NullCompositor {
|
|||
}
|
||||
|
||||
impl CompositorEventListener for NullCompositor {
|
||||
fn handle_event(&mut self, _: WindowEvent) -> bool {
|
||||
fn handle_events(&mut self, _: Vec<WindowEvent>) -> bool {
|
||||
match self.port.recv_compositor_msg() {
|
||||
Msg::Exit(chan) => {
|
||||
debug!("shutting down the constellation");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue