}
y(array_close);
- ystr("floating-nodes");
+ ystr("floating_nodes");
y(array_open);
TAILQ_FOREACH(node, &(con->floating_head), floating_windows) {
dump_node(gen, node, inplace_restart);
focused => 0,
urgent => 0,
border => 0,
- 'floating-nodes' => ignore(),
+ 'floating_nodes' => ignore(),
};
cmp_deeply($tree, $expected, 'root node OK');
return 0 if !@{$nodes};
my @children = (map { @{$_->{nodes}} } @{$nodes},
- map { @{$_->{'floating-nodes'}} } @{$nodes});
+ map { @{$_->{'floating_nodes'}} } @{$nodes});
return @{$nodes} + sum_nodes(\@children);
}
$lf = $focused[0];
last unless defined($con->{focus});
@focused = @{$con->{focus}};
- @cons = grep { $_->{id} == $lf } (@{$con->{nodes}}, @{$con->{'floating-nodes'}});
+ @cons = grep { $_->{id} == $lf } (@{$con->{nodes}}, @{$con->{'floating_nodes'}});
$con = $cons[0];
}