mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Event to make a browser visible
This commit is contained in:
parent
6876e42d66
commit
d9e7bdd7f6
4 changed files with 32 additions and 2 deletions
|
@ -825,6 +825,13 @@ impl<Window: WindowMethods> IOCompositor<Window> {
|
|||
warn!("Sending NewBrowser message to constellation failed ({}).", e);
|
||||
}
|
||||
}
|
||||
|
||||
WindowEvent::SelectBrowser(ctx) => {
|
||||
let msg = ConstellationMsg::SelectBrowser(ctx);
|
||||
if let Err(e) = self.constellation_chan.send(msg) {
|
||||
warn!("Sending SelectBrowser message to constellation failed ({}).", e);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue