]> git.sur5r.net Git - i3/i3/blobdiff - testcases/t/153-floating-originalsize.t
Merge branch 'master' into next
[i3/i3] / testcases / t / 153-floating-originalsize.t
index 2c798cfaa7d57f7fba1dd23c4f9def4099266419..83f3e85d58bf7cac5d9fe823d0c6ed07b57bda1c 100644 (file)
@@ -8,7 +8,7 @@ use i3test;
 my $tmp = fresh_workspace;
 
 # Create a floating window which is smaller than the minimum enforced size of i3
-my $window = open_window($x, { rect => [ 0, 0, 400, 150 ] });
+my $window = open_window({ rect => [ 0, 0, 400, 150 ] });
 
 my ($absolute, $top) = $window->rect;
 
@@ -17,7 +17,7 @@ cmp_ok($absolute->{width}, '>', 400, 'i3 raised the width');
 cmp_ok($absolute->{height}, '>', 150, 'i3 raised the height');
 
 cmd 'floating toggle';
-sync_with_i3($x);
+sync_with_i3;
 
 ($absolute, $top) = $window->rect;