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

@ -3,13 +3,10 @@
#
# Test if the requested width/height is set after making the window floating.
#
use X11::XCB qw(:all);
use i3test;
my $tmp = fresh_workspace;
my $x = X11::XCB::Connection->new;
# Create a floating window which is smaller than the minimum enforced size of i3
my $window = open_window($x, { rect => [ 0, 0, 400, 150 ] });