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

@ -2,7 +2,7 @@
# vim:ts=4:sw=4:expandtab
use i3test;
use X11::XCB qw(:all);
use X11::XCB 'WINDOW_CLASS_INPUT_OUTPUT';
use List::Util qw(first);
my $i3 = i3(get_socket_path());
@ -26,12 +26,6 @@ for my $o (@outputs) {
}
}
BEGIN {
use_ok('X11::XCB::Window');
}
my $x = X11::XCB::Connection->new;
##################################
# map a window, then fullscreen it
##################################