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,10 +4,8 @@
# Tests if WM_STATE is WM_STATE_NORMAL when mapped and WM_STATE_WITHDRAWN when
# unmapped.
#
use X11::XCB qw(:all);
use i3test;
my $x = X11::XCB::Connection->new;
use X11::XCB qw(ICCCM_WM_STATE_NORMAL ICCCM_WM_STATE_WITHDRAWN);
my $window = open_window($x);