]> git.sur5r.net Git - i3/i3/blobdiff - testcases/t/145-flattening.t
Merge branch 'master' into next
[i3/i3] / testcases / t / 145-flattening.t
index 6810f479fdef2baf2bf900b18883ffbe1bafebe6..9d22afc3d0f955c49e58096a0d7187bf39ca7932 100644 (file)
 #
 # This testcase checks that the tree is properly flattened after moving.
 #
-use X11::XCB qw(:all);
 use i3test;
 
-my $x = X11::XCB::Connection->new;
-
 my $tmp = fresh_workspace;
 
-my $left = open_window($x);
-my $mid = open_window($x);
-my $right = open_window($x);
+my $left = open_window;
+my $mid = open_window;
+my $right = open_window;
 
 cmd 'move up';
 cmd 'move right';