]> git.sur5r.net Git - i3/i3/blobdiff - testcases/t/141-resize.t
testcases: drop open_window()s $x parameter, use global one instead
[i3/i3] / testcases / t / 141-resize.t
index 18e28ccb76dd4bf1bec7cae0fb7049fc67fe250e..b2c7d0f36226befb269722f141478dd35e74e359 100644 (file)
@@ -7,8 +7,8 @@ my $tmp = fresh_workspace;
 
 cmd 'split v';
 
-my $top = open_window($x);
-my $bottom = open_window($x);
+my $top = open_window;
+my $bottom = open_window;
 
 sync_with_i3($x);
 
@@ -47,8 +47,8 @@ $tmp = fresh_workspace;
 
 cmd 'split v';
 
-$top = open_window($x);
-$bottom = open_window($x);
+$top = open_window;
+$bottom = open_window;
 
 cmd 'split h';
 cmd 'layout stacked';
@@ -69,7 +69,7 @@ is($nodes->[1]->{percent}, 0.75, 'bottom window got 75%');
 
 $tmp = fresh_workspace;
 
-$top = open_window($x);
+$top = open_window;
 
 cmd 'floating enable';