]> git.sur5r.net Git - i3/i3/blobdiff - testcases/t/161-regress-borders-restart.t
Merge branch 'master' into next
[i3/i3] / testcases / t / 161-regress-borders-restart.t
index c5e3ef8080c2cd2224cee9815d931f0a98e71dab..9ae677e7789e47c8e9a919b639243342824b7a61 100644 (file)
@@ -5,14 +5,12 @@
 # restart.
 # found in eb8ad348b28e243cba1972e802ca8ee636472fc9
 #
-use X11::XCB qw(:all);
 use List::Util qw(first);
 use i3test;
 
-my $x = X11::XCB::Connection->new;
 my $i3 = i3(get_socket_path());
 my $tmp = fresh_workspace;
-my $window = open_window($x);
+my $window = open_window;
 
 sub get_border_style {
     my @content = @{get_ws_content($tmp)};
@@ -30,8 +28,6 @@ is(get_border_style(), '1pixel', 'border style 1pixel after changing');
 # perform an inplace-restart
 cmd 'restart';
 
-sleep 0.25;
-
 does_i3_live;
 
 is(get_border_style(), '1pixel', 'border style still 1pixel after restart');