fix: missing final rendering after configuration

This commit is contained in:
drendog 2025-11-26 04:53:56 +01:00
parent 0756fc0ef7
commit 1e21635233
Signed by: dwenya
GPG key ID: 8DD77074645332D0

View file

@ -413,6 +413,23 @@ impl WaylandWindowingSystem {
} }
} }
info!("Initial configuration complete, requesting final render");
for window in self.state.all_outputs() {
RenderableWindow::request_redraw(window.window().as_ref());
}
update_timers_and_animations();
for window in self.state.all_outputs() {
window
.window()
.render_frame_if_dirty()
.map_err(|e| RenderingError::Operation {
message: e.to_string(),
})?;
}
self.connection
.flush()
.map_err(|e| LayerShikaError::WaylandProtocol { source: e })?;
self.setup_wayland_event_source()?; self.setup_wayland_event_source()?;
let event_queue = &mut self.event_queue; let event_queue = &mut self.event_queue;