Open popup window when receiving a call
We still need to style and allow people to accept the call but this is a good starting point. Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
aa3cb8e35e
commit
46b61feb9a
3 changed files with 83 additions and 3 deletions
|
@ -786,6 +786,10 @@ impl AsyncAppContext {
|
|||
self.update(|cx| cx.add_window(window_options, build_root_view))
|
||||
}
|
||||
|
||||
pub fn remove_window(&mut self, window_id: usize) {
|
||||
self.update(|cx| cx.remove_window(window_id))
|
||||
}
|
||||
|
||||
pub fn platform(&self) -> Arc<dyn Platform> {
|
||||
self.0.borrow().platform()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue