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

@ -14,7 +14,7 @@ my $tmp = fresh_workspace;
#############################################################################
# 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;
ok($window->mapped, 'Window is mapped');
# switch to a different workspace, see if the window is still mapped?