From 05fb4280f538b9bed775245efeb36d460d1a3b6c Mon Sep 17 00:00:00 2001 From: Samuel Onoja Date: Fri, 25 Sep 2026 08:18:02 +0100 Subject: [PATCH] flush initial layer surface configure --- compositor/src/handlers/layer_shell.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/compositor/src/handlers/layer_shell.rs b/compositor/src/handlers/layer_shell.rs index e4db791..38f38f5 100644 --- a/compositor/src/handlers/layer_shell.rs +++ b/compositor/src/handlers/layer_shell.rs @@ -111,6 +111,9 @@ pub fn handle_commit(state: &mut Ferese, surface: &WlSurface) { } state.relayout(); + if let Err(error) = state.display_handle.flush_clients() { + tracing::debug!(%error, "failed to flush layer-surface configure"); + } } fn layer_has_keyboard_focus(state: &Ferese, layer: &DesktopLayerSurface) -> bool {