diff --git a/src/vs/workbench/electron-browser/window.ts b/src/vs/workbench/electron-browser/window.ts index ce3929bd333..9ed9c6f376c 100644 --- a/src/vs/workbench/electron-browser/window.ts +++ b/src/vs/workbench/electron-browser/window.ts @@ -176,11 +176,7 @@ export class ElectronWindow { public focus(): void { if (!this.win.isFocused()) { - if (platform.isWindows || platform.isLinux) { - this.win.show(); // Windows & Linux sometimes cannot bring the window to the front when it is in the background - } else { - this.win.focus(); - } + this.win.focus(); } }