1
0
Fork 0
forked from wry/wry

tree: fix visiting output children

This commit is contained in:
Julian Orth 2025-12-21 15:42:26 +01:00
parent 12ec0e6502
commit 510f49e7bc
2 changed files with 8 additions and 3 deletions

View file

@ -990,10 +990,11 @@ impl OutputNode {
fn visit_children(&self, visitor: &mut dyn NodeVisitor) {
self.node_visit_children(visitor);
for ws in self.workspaces.iter() {
for stacked in ws.stacked.iter() {
stacked.deref().clone().node_visit(visitor);
for stacked in self.state.root.stacked.iter() {
if stacked.node_output_id() != Some(self.id) {
continue;
}
stacked.deref().clone().node_visit(visitor);
}
}