diff --git a/src/bun/windows.ts b/src/bun/windows.ts index b28d355..6c2b5c0 100644 --- a/src/bun/windows.ts +++ b/src/bun/windows.ts @@ -51,7 +51,14 @@ export function buildPreload( * gtk_window_set_decorated(false). */ export function chromeOptions() { - return { titleBarStyle: "hidden" as const }; + // `transparent` is what lets the Aero frame be a real frame: .window's 6px + // radius and its outer drop shadow are drawn by the webview OUTSIDE the + // window's own rectangle, so on an opaque surface they are simply clipped — + // square corners and no shadow. The UI reserves the shadow's gutter (see + // the .window margin in styles.css). + // PORTABILITY: on Linux this needs a compositor granting an RGBA visual; + // without one the frame still draws, just without the shadow falloff. + return { titleBarStyle: "hidden" as const, transparent: true }; } /** diff --git a/ui/src/app/connection-manager/connection-manager.html b/ui/src/app/connection-manager/connection-manager.html index 5da4792..eee5f9f 100644 --- a/ui/src/app/connection-manager/connection-manager.html +++ b/ui/src/app/connection-manager/connection-manager.html @@ -1,5 +1,5 @@ -