From 82276771a5e5590d5aac5847be84d99076815501 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Sat, 6 Sep 2025 11:10:23 +0300 Subject: Downgrade lack of our initial configure from error! to debug! This can happen if a surface unmaps by committing a null buffer and then immediately does the initial commit without a sync roundtrip, while there are pending configures from the compositor in-flight. In this case, the surface cannot tell that the pending configures were meant for "before unmapping" and considers them to be the new initial configure. From our point of view, we don't get to do a proper initial configuration sequence in this case, and receive a mapping commit without our initial configure state. We cannot really do much about it, but it is not an error when this specific situation happens. --- src/handlers/compositor.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/handlers/compositor.rs b/src/handlers/compositor.rs index ffad0750..034ee0d0 100644 --- a/src/handlers/compositor.rs +++ b/src/handlers/compositor.rs @@ -115,7 +115,9 @@ impl CompositorHandler for State { (rules, width, height, is_full_width, output, workspace_id) } else { - error!("window map must happen after initial configure"); + // Can happen when a surface unmaps by attaching a null buffer while + // there are in-flight pending configures. + debug!("window mapped without proper initial configure"); (ResolvedWindowRules::empty(), None, None, false, None, None) }; -- cgit