testcases: drop open_floating_window()s $x parameter, use global

This commit is contained in:
Maik Fischer
2011-11-22 01:00:54 +01:00
committed by Michael Stapelberg
parent f7f1ec5dab
commit 293517fb2e
11 changed files with 16 additions and 16 deletions

View File

@ -181,7 +181,7 @@ sub open_window {
# Thin wrapper around open_window which sets window_type to
# _NET_WM_WINDOW_TYPE_UTILITY to make the window floating.
sub open_floating_window {
my ($x, $args) = @_;
my ($args) = @_;
my %args = ($args ? %$args : ());
$args{window_type} = $x->atom(name => '_NET_WM_WINDOW_TYPE_UTILITY');