mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
No more headless compositor. Just the normal one.
This changes headless operation to strictly be a runtime option, rather than a compile-time one. Note that the old headless version still relied on a display server to support WebGL, while it now requires one all the time. Fixes #8573
This commit is contained in:
parent
f2f05869d6
commit
c9cb4839e4
25 changed files with 119 additions and 474 deletions
|
@ -771,9 +771,7 @@ impl LayoutThread {
|
|||
traversal.shutdown()
|
||||
}
|
||||
|
||||
let (response_chan, response_port) = ipc::channel().unwrap();
|
||||
self.paint_chan.send(LayoutToPaintMsg::Exit(response_chan)).unwrap();
|
||||
response_port.recv().unwrap()
|
||||
self.paint_chan.send(LayoutToPaintMsg::Exit).unwrap();
|
||||
}
|
||||
|
||||
fn handle_add_stylesheet<'a, 'b>(&self,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue