We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
window.focus
1 parent 47a0ab6 commit 2ff3e98Copy full SHA for 2ff3e98
src/vs/workbench/services/auxiliaryWindow/electron-sandbox/auxiliaryWindowService.ts
@@ -71,7 +71,7 @@ export class NativeAuxiliaryWindowService extends BrowserAuxiliaryWindowService
71
auxiliaryWindow.focus = async function () {
72
originalWindowFocus();
73
74
- if (getActiveWindow() === auxiliaryWindow) {
+ if (getActiveWindow() !== auxiliaryWindow) {
75
that.nativeHostService.focusWindow({ targetWindowId: await windowId.p });
76
}
77
};
0 commit comments