Skip to content

Commit c3470b5

Browse files
authored
fix: disable occlusion tracker on windows (microsoft#158260)
1 parent 2857051 commit c3470b5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/main.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,12 @@ function configureCommandlineSwitchesSync(cliArgs) {
218218
}
219219
});
220220

221+
/* Following features are disabled from the runtime.
222+
* `CalculateNativeWinOcclusion` - Disable native window occlusion tracker,
223+
* Refs https://groups.google.com/a/chromium.org/g/embedder-dev/c/ZF3uHHyWLKw/m/VDN2hDXMAAAJ
224+
*/
225+
app.commandLine.appendSwitch('disable-features', 'CalculateNativeWinOcclusion');
226+
221227
// Support JS Flags
222228
const jsFlags = getJSFlags(cliArgs);
223229
if (jsFlags) {

0 commit comments

Comments
 (0)