testcases: drop open_window()s $x parameter, use global one instead

This commit is contained in:
Maik Fischer
2011-11-22 00:47:32 +01:00
committed by Michael Stapelberg
parent e9acd36ce4
commit fce7570f96
36 changed files with 106 additions and 106 deletions

View File

@ -156,7 +156,7 @@ sub wait_for_unmap {
# name => 'Window <n>'
#
sub open_window {
my ($x, $args) = @_;
my ($args) = @_;
my %args = ($args ? %$args : ());
my $dont_map = delete $args{dont_map};
@ -186,7 +186,7 @@ sub open_floating_window {
$args{window_type} = $x->atom(name => '_NET_WM_WINDOW_TYPE_UTILITY');
return open_window($x, \%args);
return open_window(\%args);
}
sub open_empty_con {