mirror of
https://github.com/servo/servo.git
synced 2025-08-02 20:20:14 +01:00
add parent window setting when creating windows with glutin
needed for embedding api usage
This commit is contained in:
parent
f4381a6f1e
commit
16a9712ab7
4 changed files with 9 additions and 6 deletions
|
@ -53,7 +53,7 @@ fn main() {
|
|||
let window = if opts::get().headless {
|
||||
None
|
||||
} else {
|
||||
Some(app::create_window())
|
||||
Some(app::create_window(std::ptr::null_mut()))
|
||||
};
|
||||
|
||||
// Our wrapper around `Browser` that also implements some
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue