mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-29 21:49:33 +00:00
Foreground app when accepting calls and project shares
This commit is contained in:
parent
bf0a04ab50
commit
9ec62d4c1f
1 changed files with 1 additions and 0 deletions
|
@ -59,6 +59,7 @@ pub fn init(app_state: Arc<AppState>, cx: &mut MutableAppContext) {
|
|||
};
|
||||
|
||||
cx.activate_window(workspace.window_id());
|
||||
cx.platform().activate(true);
|
||||
|
||||
workspace.update(&mut cx, |workspace, cx| {
|
||||
if let Some(room) = ActiveCall::global(cx).read(cx).room().cloned() {
|
||||
|
|
Loading…
Reference in a new issue