ok(!recv_take_focus($window), 'did not receive ClientMessage');
- my $con = shift get_ws_content($ws);
+ my ($nodes) = get_ws_content($ws);
+ my $con = shift @$nodes;
ok($con->{focused}, 'con is focused');
done_testing;
ok(!recv_take_focus($window), 'did not receive ClientMessage');
- my $con = shift get_ws_content($ws);
+ my ($nodes) = get_ws_content($ws);
+ my $con = shift @$nodes;
ok($con->{focused}, 'con is focused');
done_testing;
ok(!recv_take_focus($window), 'did not receive ClientMessage');
- my $con = shift get_ws_content($ws);
+ my ($nodes) = get_ws_content($ws);
+ my $con = shift @$nodes;
ok($con->{focused}, 'con is focused');
done_testing;