From 91ab7e7e710ce50dd1ee7fe11614e5be64a91900 Mon Sep 17 00:00:00 2001 From: Alexander Yakushev Date: Tue, 8 May 2012 01:16:31 +0300 Subject: [PATCH] menubar: Properly stop the keygrabber After some recent keygrabber changes the menubar's application execution was broken. This commit fixes it. Signed-off-by: Alexander Yakushev Signed-off-by: Uli Schlachter --- lib/menubar/init.lua.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/menubar/init.lua.in b/lib/menubar/init.lua.in index 58497a9b..4b2d36e3 100644 --- a/lib/menubar/init.lua.in +++ b/lib/menubar/init.lua.in @@ -101,8 +101,9 @@ local function perform_action(o) return true, "", new_prompt elseif shownitems[current_item].cmdline then awful.util.spawn(shownitems[current_item].cmdline) - hide() - return true + -- Let awful.prompt execute dummy exec_callback and + -- done_callback to stop the keygrabber properly. + return false end end