If I switch workspace, focus moves to different VS Code instance (fix #106727)

This commit is contained in:
Benjamin Pasero
2020-09-15 11:16:04 +02:00
parent 79e1ebbb7f
commit b9947f2a37
2 changed files with 13 additions and 5 deletions

View File

@@ -338,7 +338,7 @@ export class CodeWindow extends Disposable implements ICodeWindow {
}
focus(options?: { force: boolean }): void {
// macOS: Electron >6.x changed its behaviour to not
// macOS: Electron > 7.x changed its behaviour to not
// bring the application to the foreground when a window
// is focused programmatically. Only via `app.focus` and
// the option `steal: true` can you get the previous