diff --git a/src/main/index.ts b/src/main/index.ts index d70f2a2..0fa67eb 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -31,9 +31,11 @@ function init() { // WinRetrieveSuggestionsOnlyOnDemand: Work around electron 13 bug w/ async spellchecking on Windows. // HardwareMediaKeyHandling,MediaSessionService: Prevent Discord from registering as a media service. + // + // WidgetLayering (Vencord Added): Fix DevTools context menus https://github.com/electron/electron/issues/38790 app.commandLine.appendSwitch( "disable-features", - "WinRetrieveSuggestionsOnlyOnDemand,HardwareMediaKeyHandling,MediaSessionService" + "WinRetrieveSuggestionsOnlyOnDemand,HardwareMediaKeyHandling,MediaSessionService,WidgetLayering" ); // <-- END COPY PASTED FROM DISCORD -->