testcases: drop open_window()s $x parameter, use global one instead
This commit is contained in:
committed by
Michael Stapelberg
parent
e9acd36ce4
commit
fce7570f96
@ -20,7 +20,7 @@ is(@docked, 0, 'no dock clients yet');
|
||||
# open a dock client
|
||||
#####################################################################
|
||||
|
||||
my $first = open_window($x, {
|
||||
my $first = open_window({
|
||||
background_color => '#FF0000',
|
||||
window_type => $x->atom(name => '_NET_WM_WINDOW_TYPE_DOCK'),
|
||||
});
|
||||
@ -29,7 +29,7 @@ my $first = open_window($x, {
|
||||
# Open a second dock client
|
||||
#####################################################################
|
||||
|
||||
my $second = open_window($x, {
|
||||
my $second = open_window({
|
||||
background_color => '#FF0000',
|
||||
window_type => $x->atom(name => '_NET_WM_WINDOW_TYPE_DOCK'),
|
||||
});
|
||||
|
Reference in New Issue
Block a user