Root: remove incorrect assertions in addOutput()

This commit is contained in:
Isaac Freund 2023-03-14 11:41:02 +01:00
parent dd542b5284
commit 95825b0153
No known key found for this signature in database
GPG Key ID: 86DED400DDFD7A11

View File

@ -326,8 +326,6 @@ pub fn addOutput(root: *Self, output: *Output) void {
while (it.next()) |view| view.setPendingOutput(output); while (it.next()) |view| view.setPendingOutput(output);
assert(root.hidden.pending.focus_stack.empty()); assert(root.hidden.pending.focus_stack.empty());
assert(root.hidden.pending.wm_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 // Focus the new output with all seats