All your machines, one app. For you and your AI agents: agent sessions, desktops, files, logs and GitHub across your Macs, Linux and Windows machines, with an MCP server.
Wayland: Muxin's windows have their title
Adib Hanna405f9974eb05
diff --git a/src/ui/desktop.rs b/src/ui/desktop.rsindex 9fb7118..b2c07d0 100644--- a/src/ui/desktop.rs+++ b/src/ui/desktop.rs@@ -953,15 +953,18 @@ impl Render for DesktopWindow {/// Opens a machine's desktop in its own window.pub fn open_window(engine: Arc<Engine>, machine_id: String, display: Option<String>, name: String, cx: &mut App) {let bounds = Bounds::centered(None, gpui::size(px(1440.), px(900.)), cx);+ let title = format!("{name} · Desktop");let options = gpui::WindowOptions {window_bounds: Some(gpui::WindowBounds::Windowed(bounds)),- titlebar: Some(gpui::TitlebarOptions { title: Some(format!("{name} · Desktop").into()), appears_transparent: cfg!(target_os = "macos"), traffic_light_position: None }),+ titlebar: Some(gpui::TitlebarOptions { title: Some(title.clone().into()), appears_transparent: cfg!(target_os = "macos"), traffic_light_position: None }),window_min_size: Some(gpui::size(px(480.), px(320.))),app_id: Some("muxin".into()),window_decorations: super::frame::requested(),..Default::default()};let opened = cx.open_window(options, |window, cx| {+ // (Wayland gets no title from the options.)+ window.set_window_title(&title);super::theme::apply(window, cx);let view = cx.new(|cx| {let mut v = DesktopView::new(engine, machine_id, window, cx);diff --git a/src/ui/mod.rs b/src/ui/mod.rsindex 0b585e6..77c433d 100644--- a/src/ui/mod.rs+++ b/src/ui/mod.rs@@ -104,6 +104,9 @@ pub fn run(engine: Arc<Engine>, initial_view: Option<String>) {..Default::default()},|window, cx| {+ // GPUI gives Wayland no title from the options: without one, a+ // dock or app switcher shows "unknown".+ window.set_window_title("Muxin");theme::apply(window, cx);let view = cx.new(|cx| Root::new(engine.clone(), window, cx));window.focus(&view.focus_handle(cx));