testcases: let i3test.pm export $x, adapt testcases
This commit is contained in:
committed by
Michael Stapelberg
parent
1b1d7941ec
commit
30ea33decb
@ -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
|
||||
##################################
|
||||
|
Reference in New Issue
Block a user