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

@ -23,7 +23,7 @@ wait_for_map $win;
$win->hints->aspect($aspect);
$x->flush;
sync_with_i3($x);
sync_with_i3;
my $rect = $win->rect;
my $ar = $rect->width / $rect->height;