mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 19:44:25 +01:00
VSCode does not respect window layout during debugging [Windows] (fixes #2612)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user