fix: set inital window title on wayland displays

This commit is contained in:
Sushant-Git 2025-08-24 18:29:40 +05:30
parent d8bffd7ef2
commit b73d1586d3

View file

@ -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,