From f216cf5c0603c495c12579be20119acc828d3013 Mon Sep 17 00:00:00 2001 From: Samuel Onoja Date: Fri, 25 Sep 2026 08:12:40 +0100 Subject: [PATCH] flush layer updates during output resize --- compositor/src/winit.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/compositor/src/winit.rs b/compositor/src/winit.rs index f2abcac..f0dee65 100644 --- a/compositor/src/winit.rs +++ b/compositor/src/winit.rs @@ -689,6 +689,10 @@ pub fn init(event_loop: &mut EventLoop, state: &mut Ferese) -> Result<() } state.relayout(); + if let Err(error) = state.display_handle.flush_clients() { + tracing::debug!(%error, "failed to flush output-resize configure"); + } + backend.window().request_redraw(); } WinitEvent::Input(event) => state.process_input_event(event), WinitEvent::Redraw => {