From c6ea208b1cca6c747fbb98b0ea9617ab39e1c038 Mon Sep 17 00:00:00 2001 From: Gert Pellin - GPE Date: Wed, 18 Nov 2026 10:40:52 +0100 Subject: [PATCH] Linux: keep the window manager's title bar buttons only (#1994) Draw the custom minimize/maximize/close buttons only on Windows, the platform that hides the native title bar. Linux keeps the window manager's decorations, so it no longer shows two sets of buttons. macOS is unchanged. --- .../artcraft/app/src/components/signaled/TopBar/TopBar.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/apps/artcraft/app/src/components/signaled/TopBar/TopBar.tsx b/frontend/apps/artcraft/app/src/components/signaled/TopBar/TopBar.tsx index 0aee614752..27fa7b5ac4 100644 --- a/frontend/apps/artcraft/app/src/components/signaled/TopBar/TopBar.tsx +++ b/frontend/apps/artcraft/app/src/components/signaled/TopBar/TopBar.tsx @@ -655,7 +655,9 @@ export const TopBar = ({ pageName }: Props) => { {/* TODO(bt,2025-09-12): This was the old auth buttons that didn't work. We need to remove this and clean up the DOM. */} - {isDesktop && platform !== "macos" && ( + {/* Only Windows hides the native title bar (`decorations(false)` in setup_main_window.rs); + macOS overlays its traffic lights and Linux keeps the window manager's own buttons. */} + {isDesktop && platform === "windows" && (