Fix #4: keyboard.disableFocus() not working.

Used undefined variable NO_WIDGET to clear keyboard focus.
Same error was made in mouse.lua.
This commit is contained in:
Matthias Richter 2012-09-03 15:30:17 +02:00
parent fd8664c80a
commit d3b1a1c00d
3 changed files with 3 additions and 1 deletions

View file

@ -26,6 +26,7 @@ THE SOFTWARE.
local key,code = nil, -1
local focus, lastwidget
local NO_WIDGET = {}
local cycle = {
-- binding = {key = key, modifier1, modifier2, ...} XXX: modifiers are OR-ed!