awful.prompt: stop grabbing keyboard before calling callback
This allows execution of grabbing function. Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
b9398ad51e
commit
80f5d43631
|
@ -161,6 +161,7 @@ function run(args, textbox, exe_callback, completion_callback, history_path, his
|
||||||
or (not mod.Control and key == "Return") then
|
or (not mod.Control and key == "Return") then
|
||||||
textbox.text = ""
|
textbox.text = ""
|
||||||
history_add(history_path, command)
|
history_add(history_path, command)
|
||||||
|
capi.keygrabber.stop()
|
||||||
exe_callback(command)
|
exe_callback(command)
|
||||||
if done_callback then done_callback() end
|
if done_callback then done_callback() end
|
||||||
return false
|
return false
|
||||||
|
|
Loading…
Reference in New Issue