testcases: drop sync_with_i3()s $x parameter, use global

This commit is contained in:
Maik Fischer
2011-11-22 01:13:37 +01:00
committed by Michael Stapelberg
parent 293517fb2e
commit 0702f1fb7b
26 changed files with 59 additions and 61 deletions

View File

@ -46,7 +46,7 @@ my $third = open_window({
$third->map;
sync_with_i3 $x;
sync_with_i3;
diag("third = " . $third->id);
@ -58,7 +58,7 @@ cmd "move workspace $tmp2";
# verify that the third window has the focus
sync_with_i3($x);
sync_with_i3;
is($x->input_focus, $third->id, 'third window focused');