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

@ -14,7 +14,7 @@ sub two_windows {
my $first = open_window;
my $second = open_window;
sync_with_i3 $x;
sync_with_i3;
is($x->input_focus, $second->id, 'second window focused');
ok(@{get_ws_content($tmp)} == 2, 'two containers opened');