From 4f2156299f4316325e850cbd59eaae85c8cd8a21 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Sun, 4 Mar 2012 10:41:25 +0100 Subject: [PATCH] awful.prompt: Properly stop keygrabber (FS#965) This was broken since 014d191f66a (which made this kind of stuff mandatory, because 'return false' is ignored now). Whoops. Signed-off-by: Uli Schlachter --- 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 c398fc94..d552c1a8 100644 --- a/lib/awful/prompt.lua.in +++ b/lib/awful/prompt.lua.in @@ -211,6 +211,7 @@ function run(args, textbox, exe_callback, completion_callback, history_path, his -- Get out cases if (mod.Control and (key == "c" or key == "g")) or (not mod.Control and key == "Escape") then + capi.keygrabber.stop() textbox:set_markup("") if done_callback then done_callback() end return false