testcases: drop open_window()s $x parameter, use global one instead

This commit is contained in:
Maik Fischer
2011-11-22 00:47:32 +01:00
committed by Michael Stapelberg
parent e9acd36ce4
commit fce7570f96
36 changed files with 106 additions and 106 deletions

View File

@ -9,13 +9,13 @@ use i3test;
my $tmp = fresh_workspace;
# open a tiling window on the first workspace
open_window($x);
open_window;
#sleep 0.25;
my $first = get_focused($tmp);
# on a different ws, open a floating window
my $otmp = fresh_workspace;
open_window($x);
open_window;
#sleep 0.25;
my $float = get_focused($otmp);
cmd 'mode toggle';