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

@ -15,7 +15,7 @@ my $tiled_right = open_window;
my $focus = $x->input_focus;
# Create a floating window which is smaller than the minimum enforced size of i3
my $window = open_floating_window($x);
my $window = open_floating_window;
is($x->input_focus, $window->id, 'floating window focused');