test-current-desktop: add extra step when killing a client
Ref: https://github.com/awesomeWM/awesome/issues/1495#issuecomment-277098634
This commit is contained in:
parent
aaea976108
commit
d005640f92
|
@ -72,10 +72,13 @@ local steps = {
|
||||||
wait_for_current_desktop(tags[4]),
|
wait_for_current_desktop(tags[4]),
|
||||||
|
|
||||||
-- Killing the client means the first selected tag counts
|
-- Killing the client means the first selected tag counts
|
||||||
function()
|
function(count)
|
||||||
assert(client.focus == c)
|
if count == 1 then
|
||||||
c:kill()
|
assert(client.focus == c)
|
||||||
c = nil
|
c:kill()
|
||||||
|
c = nil
|
||||||
|
return
|
||||||
|
end
|
||||||
return true
|
return true
|
||||||
end,
|
end,
|
||||||
wait_for_current_desktop(tags[3]),
|
wait_for_current_desktop(tags[3]),
|
||||||
|
|
Loading…
Reference in New Issue