gpui: Set initial window title on Wayland (#36844)

Closes #36843 

Release Notes:

- Fixed: set the initial window title correctly on startup in Wayland.
This commit is contained in:
Sushant Mishra
2025-10-28 21:22:01 +05:30
committed by GitHub
parent 55554a8653
commit a4a2acfaa5

View File

@@ -157,6 +157,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,