2 # vim:ts=4:sw=4:expandtab
4 # Regression: floating windows are tiling after restarting, closing them crashes i3
8 my $tmp = fresh_workspace;
11 cmd 'floating toggle';
13 my $ws = get_ws($tmp);
14 is(scalar @{$ws->{nodes}}, 0, 'no tiling nodes');
15 is(scalar @{$ws->{floating_nodes}}, 1, 'precisely one floating node');
19 diag('Checking if i3 still lives');
24 is(scalar @{$ws->{nodes}}, 0, 'no tiling nodes');
25 is(scalar @{$ws->{floating_nodes}}, 1, 'precisely one floating node');