From e60f04bb79c9c24ff3798f42d0f81bf9c1a365c1 Mon Sep 17 00:00:00 2001 From: V Date: Sun, 25 Jun 2023 04:20:26 +0200 Subject: [PATCH] Fix DevTools context menu --- src/main/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -->