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 <yakushev.alex@gmail.com> Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
3986409e70
commit
91ab7e7e71
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue