From d613793dc4446f34ee1e9be4a844f9ea0db32add Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Tue, 3 Mar 2026 19:36:05 -0500 Subject: [PATCH] do frameless first --- src/main/patcher.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/patcher.ts b/src/main/patcher.ts index c5584f300..911a40473 100644 --- a/src/main/patcher.ts +++ b/src/main/patcher.ts @@ -78,9 +78,9 @@ if (!IS_VANILLA) { // work around discord unloading when in background options.webPreferences.backgroundThrottling = false; - if (settings.mainWindowFrameless && isMainWindow) { + if (settings.frameless) { options.frame = false; - } else if (settings.frameless) { + } else if (settings.mainWindowFrameless && isMainWindow) { options.frame = false; } else if (process.platform === "win32" && settings.winNativeTitleBar) { delete options.frame;