testcases: let i3test.pm export $x, adapt testcases
This commit is contained in:
committed by
Michael Stapelberg
parent
1b1d7941ec
commit
30ea33decb
@ -4,11 +4,6 @@
|
||||
# if only a floating window is present on the workspace.
|
||||
|
||||
use i3test;
|
||||
use X11::XCB qw(:all);
|
||||
|
||||
BEGIN {
|
||||
use_ok('X11::XCB::Window');
|
||||
}
|
||||
|
||||
my $i3 = i3(get_socket_path());
|
||||
|
||||
@ -18,8 +13,6 @@ my $tmp = fresh_workspace;
|
||||
# 1: open a floating window, get it mapped
|
||||
#############################################################################
|
||||
|
||||
my $x = X11::XCB::Connection->new;
|
||||
|
||||
# Create a floating window
|
||||
my $window = open_floating_window($x);
|
||||
ok($window->mapped, 'Window is mapped');
|
||||
|
Reference in New Issue
Block a user