git.lucas.co / cce-compositor
Wayland compositor (wlroots)
git clone https://git.lucas.co/cce-compositor.git

commit37c55116e512a75ce9e13e496746c6f61cdf5c27
parentd3d95804aa
authorIsaac Freund <[email protected]>
date2023-03-14 11:41
Root: remove incorrect assertions in addOutput()

 river/Root.zig | 2 --
 1 file changed, 2 deletions(-)

diff --git a/river/Root.zig b/river/Root.zig
index fb5379c..d887273 100644
--- a/river/Root.zig
+++ b/river/Root.zig
@@ -326,8 +326,6 @@ pub fn addOutput(root: *Self, output: *Output) void {
             while (it.next()) |view| view.setPendingOutput(output);
             assert(root.hidden.pending.focus_stack.empty());
             assert(root.hidden.pending.wm_stack.empty());
-            assert(root.hidden.inflight.focus_stack.empty());
-            assert(root.hidden.inflight.wm_stack.empty());
         }
         {
             // Focus the new output with all seats