From c3b4c2f7d468e109c05040c50307b11ff4068274 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sun, 1 Feb 2026 15:47:07 +0200 Subject: [PATCH] fix(desktop): background effects interferes with native title bar --- apps/server/src/services/window.ts | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/apps/server/src/services/window.ts b/apps/server/src/services/window.ts index 39c609364..8be3f56a5 100644 --- a/apps/server/src/services/window.ts +++ b/apps/server/src/services/window.ts @@ -237,18 +237,19 @@ function getWindowExtraOpts() { // Linux or other platforms. extraOpts.frame = false; } - } - // Window effects (Mica) - if (optionService.getOptionBool("backgroundEffects")) { - if (isMac) { - extraOpts.transparent = true; - extraOpts.visualEffectState = "active"; - } else if (isWindows) { - extraOpts.backgroundMaterial = "auto"; - } else { - // Linux or other platforms. - extraOpts.transparent = true; + // Window effects (Mica on Windows and Vibrancy on macOS) + // These only work if native title bar is not enabled. + if (optionService.getOptionBool("backgroundEffects")) { + if (isMac) { + extraOpts.transparent = true; + extraOpts.visualEffectState = "active"; + } else if (isWindows) { + extraOpts.backgroundMaterial = "auto"; + } else { + // Linux or other platforms. + extraOpts.transparent = true; + } } }