From 1e216352334d4dcc58d3c00d964a8aa6fb55d7d3 Mon Sep 17 00:00:00 2001 From: drendog Date: Wed, 26 Nov 2025 04:53:56 +0100 Subject: [PATCH] fix: missing final rendering after configuration --- crates/adapters/src/wayland/shell_adapter.rs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/crates/adapters/src/wayland/shell_adapter.rs b/crates/adapters/src/wayland/shell_adapter.rs index 3b71198..27df0c6 100644 --- a/crates/adapters/src/wayland/shell_adapter.rs +++ b/crates/adapters/src/wayland/shell_adapter.rs @@ -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()?; let event_queue = &mut self.event_queue;