The truly free, open-source, local-first, cross-platform CapCut replacement. Scriptable through a JSON-RPC API & MCP.
Rust ffmpegfree-video-editormodel-context-protocolnon-linear-editoroffline-firstopen-source-video-editorself-hostedvideo-editingvideo-editing-automationvideo-editing-softwarevideo-editing-toolsvideo-editorvoice-cloningyoutube-automationyoutube-shorts
fix(ui): one title bar on Linux, the strip's own
Jareerad282184964a
diff --git a/src/crates/concat/src/platform.rs b/src/crates/concat/src/platform.rsindex fb5379a4..84085aff 100644--- a/src/crates/concat/src/platform.rs+++ b/src/crates/concat/src/platform.rs@@ -140,6 +140,13 @@ pub fn select_backend(// when the caption goes, so the edges still resize, and the undecorated// shadow keeps the DWM drop shadow the caption would otherwise have// taken with it.+ //+ // The attributes below are the window's first state; what keeps the+ // decorations off is the Slint window's `no-frame` (app.slint), which+ // the winit backend re-applies after the window is made. On Wayland+ // without it GNOME's bar came back above the strip:+ // https://github.com/jub0t/Concat/issues/97+ // https://github.com/jub0t/Concat/issues/145#[cfg(target_os = "macos")]{use slint::winit_030::winit::platform::macos::WindowAttributesExtMacOS;diff --git a/src/crates/concat/ui/app.slint b/src/crates/concat/ui/app.slintindex b98e523d..d5e8c510 100644--- a/src/crates/concat/ui/app.slint+++ b/src/crates/concat/ui/app.slint@@ -61,6 +61,14 @@ export {export component App inherits Window {title: "Concat";+ // Where the strip carries its own window buttons the platform's+ // decorations are not wanted, and this is the property Slint keeps+ // them off with: the winit backend re-applies `no-frame` to the+ // window after it is made, over whatever the attributes asked for, so+ // a hook alone left GNOME drawing its bar above ours:+ // https://github.com/jub0t/Concat/issues/97+ // https://github.com/jub0t/Concat/issues/145+ no-frame: root.own-window-buttons;background: Theme.page;default-font-family: Theme.font;default-font-size: Theme.fs;