awful.startup_notification: unregister events on time out

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-05-09 16:03:41 +02:00
parent 3abec42c81
commit 70dffba6b1
1 changed files with 2 additions and 1 deletions

View File

@ -47,7 +47,8 @@ local function startup_hook(event)
if event.type == "initiated" then
register_event(event.id)
elseif event.type == "canceled"
or event.type == "completed" then
or event.type == "completed"
or event.type == "timedout" then
unregister_event(event.id)
end
end