]> git.sur5r.net Git - i3/i3/blobdiff - testcases/t/02-fullscreen.t
perl: use get_tree instead of get_workspaces
[i3/i3] / testcases / t / 02-fullscreen.t
index aa6861fb690ce2f106bee5e5dba27482452259cb..e13bff63457c7c2ac44f243b85f27aff03b3a304 100644 (file)
@@ -16,7 +16,7 @@ sub fullscreen_windows {
 }
 
 # get the output of this workspace
-my $tree = $i3->get_workspaces->recv;
+my $tree = $i3->get_tree->recv;
 my @outputs = @{$tree->{nodes}};
 my $output = first { defined(first { $_->{name} eq $tmp } @{$_->{nodes}}) } @outputs;