testcases: let i3test.pm export $x, adapt testcases

This commit is contained in:
Maik Fischer
2011-11-21 21:39:50 +01:00
committed by Michael Stapelberg
parent 1b1d7941ec
commit 30ea33decb
52 changed files with 15 additions and 239 deletions

View File

@ -4,11 +4,8 @@
# Check if the focus is correctly restored after closing windows.
#
use i3test;
use X11::XCB qw(:all);
use List::Util qw(first);
my $x = X11::XCB::Connection->new;
my $i3 = i3(get_socket_path());
my $tmp = fresh_workspace;