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

This commit is contained in:
Maik Fischer
2011-11-22 01:00:54 +01:00
committed by Michael Stapelberg
parent f7f1ec5dab
commit 293517fb2e
11 changed files with 16 additions and 16 deletions

View File

@ -18,7 +18,7 @@ my $right = open_window({ name => 'Right' });
my ($abs, $rgeom) = $right->rect;
my $child = open_floating_window($x, {
my $child = open_floating_window({
dont_map => 1,
name => 'Child window',
});
@ -31,7 +31,7 @@ my $cgeom;
($abs, $cgeom) = $child->rect;
cmp_ok($cgeom->x, '>=', $rgeom->x, 'Child X >= right container X');
my $child2 = open_floating_window($x, {
my $child2 = open_floating_window({
dont_map => 1,
name => 'Child window 2',
});