From 80f5d436316800205686de1c00e97bd36ffd2071 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Thu, 13 Nov 2008 14:07:27 +0100 Subject: [PATCH] awful.prompt: stop grabbing keyboard before calling callback This allows execution of grabbing function. Signed-off-by: Julien Danjou --- lib/awful/prompt.lua.in | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/awful/prompt.lua.in b/lib/awful/prompt.lua.in index 14191027..ad0921fa 100644 --- a/lib/awful/prompt.lua.in +++ b/lib/awful/prompt.lua.in @@ -161,6 +161,7 @@ function run(args, textbox, exe_callback, completion_callback, history_path, his or (not mod.Control and key == "Return") then textbox.text = "" history_add(history_path, command) + capi.keygrabber.stop() exe_callback(command) if done_callback then done_callback() end return false -- 2.11.4.GIT