diff --git a/src/services/window.ts b/src/services/window.ts index f60c5f783..27a174b78 100644 --- a/src/services/window.ts +++ b/src/services/window.ts @@ -115,8 +115,14 @@ async function createMainWindow(app: App) { function getWindowExtraOpts() { const extraOpts: Partial = {}; if (!optionService.getOptionBool('nativeTitleBarVisible')) { - extraOpts.titleBarStyle = "hidden"; - extraOpts.titleBarOverlay = (process.platform !== "darwin"); + if (process.platform !== "darwin") { + // Windows, Linux + extraOpts.titleBarStyle = "hidden"; + extraOpts.titleBarOverlay = true; + } else { + // macOS + extraOpts.titleBarStyle = "hiddenInset"; + } } return extraOpts;