awful.menu: remove superfluous return true from keygrabber's callback

Returning true from the callback to `keygrabber` is no longer necessary to
continue grabbing the keyboard.

Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Anurag Priyam 2012-03-01 15:43:29 -05:00 committed by Uli Schlachter
parent 4f2156299f
commit 8034e2a5d8
1 changed files with 1 additions and 5 deletions

View File

@ -194,9 +194,7 @@ end
local function grabber(mod, key, event)
if event == "release" then
return true
end
if event ~= "press" then return end
local sel = cur_menu.sel or 0
if util.table.hasitem(menu_keys.up, key) then
@ -216,8 +214,6 @@ local function grabber(mod, key, event)
else
check_access_key(cur_menu, key)
end
return true
end