From 30f9298ab79ffaae8e12adb9e9643918aac0906d Mon Sep 17 00:00:00 2001 From: Timotej Ecimovic Date: Fri, 18 Oct 2024 20:28:16 -0400 Subject: [PATCH] Restore normal titlebar on Linux. (#1460) --- src-electron/ui/window.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-electron/ui/window.js b/src-electron/ui/window.js index 1670b8967b..57bfd07aef 100644 --- a/src-electron/ui/window.js +++ b/src-electron/ui/window.js @@ -128,7 +128,7 @@ export function windowCreate(port, args) { title: args?.filePath == null ? menu.newConfiguration : args?.filePath, useContentSize: true, webPreferences: webPreferences, - titleBarStyle: process.platform === 'win32' ? 'default' : 'hidden', + titleBarStyle: process.platform === 'darwin' ? 'hidden' : 'default', trafficLightPosition: { x: 15, y: 20 }, titleBarOverlay: { color: '#F4F4F4',