mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
fix embedding rendering when using a child window
compositing must be initialized automatically in this case
This commit is contained in:
parent
f4381a6f1e
commit
17390e75ec
1 changed files with 3 additions and 0 deletions
|
@ -137,6 +137,9 @@ impl ServoCefBrowserExtensions for CefBrowser {
|
|||
|
||||
self.downcast().host.set_browser((*self).clone());
|
||||
self.downcast().frame.set_browser((*self).clone());
|
||||
if window_info.parent_window != 0 {
|
||||
self.downcast().host.initialize_compositing();
|
||||
}
|
||||
}
|
||||
|
||||
fn send_window_event(&self, event: WindowEvent) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue