awful.prompt: return true since we unregistered (FS#383)

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-11-24 11:56:42 +01:00
parent 9abf89da2a
commit 41c6fbb31c
1 changed files with 3 additions and 1 deletions

View File

@ -167,7 +167,9 @@ function run(args, textbox, exe_callback, completion_callback, history_path, his
capi.keygrabber.stop()
exe_callback(command)
if done_callback then done_callback() end
return false
-- We already unregistered ourselves so we don't want to return
-- true, otherwise we may unregister someone else.
return true
end
-- Control cases