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:
@@ -157,6 +157,12 @@ impl WaylandWindowState {
|
|||||||
BladeRenderer::new(gpu_context, &raw_window, config)?
|
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 {
|
Ok(Self {
|
||||||
xdg_surface,
|
xdg_surface,
|
||||||
acknowledged_first_configure: false,
|
acknowledged_first_configure: false,
|
||||||
|
|||||||
Reference in New Issue
Block a user