testcases: use $x in wait_for_(un)map change to wait_for_(un)map($win)
wait_for_unmap currently ignores its $window parameter, since X11::XCB doesn't provide $event->{window} for unmap events yet.
This commit is contained in:
committed by
Michael Stapelberg
parent
65471a6b18
commit
da403b3667
@ -113,7 +113,7 @@ ok(defined($ws), "workspace 0: $tmp was created");
|
||||
is($ws->{num}, 0, 'workspace number is 0');
|
||||
|
||||
cmd "workspace aa: $tmp";
|
||||
my $ws = get_ws("aa: $tmp");
|
||||
$ws = get_ws("aa: $tmp");
|
||||
ok(defined($ws), "workspace aa: $tmp was created");
|
||||
is($ws->{num}, -1, 'workspace number is -1');
|
||||
|
||||
|
Reference in New Issue
Block a user