diff --git a/crates/gpui/src/platform/linux/wayland/window.rs b/crates/gpui/src/platform/linux/wayland/window.rs index 7570c58c09..13717f1ea1 100644 --- a/crates/gpui/src/platform/linux/wayland/window.rs +++ b/crates/gpui/src/platform/linux/wayland/window.rs @@ -155,6 +155,12 @@ impl WaylandWindowState { BladeRenderer::new(gpu_context, &raw_window, config)? }; + if let Some(titlebar) = options.titlebar { + if let Some(title) = titlebar.title { + toplevel.set_title(title.to_string()); + } + } + Ok(Self { xdg_surface, acknowledged_first_configure: false,