]> git.sur5r.net Git - i3/i3/blobdiff - testcases/t/124-move.t
testcases: drop open_floating_window()s $x parameter, use global
[i3/i3] / testcases / t / 124-move.t
index a6eb61648384d2108a3a4f1a53f769cc9fe3b091..a078a9e842f5f4454dc71ecd7ac8864c611e515c 100644 (file)
@@ -8,9 +8,7 @@
 # 4) move a container in a different direction so that we need to go up in tree
 #
 use i3test;
-use X11::XCB::Connection;
 
-my $x = X11::XCB::Connection->new;
 my $i3 = i3(get_socket_path());
 
 my $tmp = fresh_workspace;
@@ -138,7 +136,7 @@ is(@{$content}, 1, 'only one nodes on this workspace');
 ######################################################################
 
 $tmp = fresh_workspace;
-my $floatwin = open_floating_window($x);
+my $floatwin = open_floating_window;
 my ($absolute_before, $top_before) = $floatwin->rect;
 
 cmd 'move left';