diff --git a/src/public/app/desktop.js b/src/public/app/desktop.js index 6d558c55e..560c2e529 100644 --- a/src/public/app/desktop.js +++ b/src/public/app/desktop.js @@ -63,8 +63,12 @@ function initTitleBarButtons() { const symbolColor = style.getPropertyValue("--native-titlebar-foreground"); if (color && symbolColor) { - currentWindow.setTitleBarOverlay({ color, symbolColor }); + // FIXME, do this only on windows + // currentWindow.setTitleBarOverlay({ color, symbolColor }); } + + // FIXME: call only on darwin + currentWindow.setWindowButtonPosition({ x: 20, y: 20 }); } // Update the native title bar buttons. diff --git a/src/services/window.ts b/src/services/window.ts index 5be4e6e80..44e71e9b7 100644 --- a/src/services/window.ts +++ b/src/services/window.ts @@ -115,7 +115,7 @@ async function createMainWindow(app: App) { function getWindowExtraOpts() { const extraOpts: Partial = {}; if (!optionService.getOptionBool('nativeTitleBarVisible')) { - extraOpts.titleBarStyle = "hidden"; + extraOpts.titleBarStyle = (process.platform !== "darwin" ? "hidden" : "hiddenInset"); extraOpts.titleBarOverlay = true; }