aboutsummaryrefslogtreecommitdiffstats
path: root/keyboard.lua
diff options
context:
space:
mode:
authorMatthias Richter <vrld@vrld.org>2012-09-03 15:30:17 +0200
committerMatthias Richter <vrld@vrld.org>2012-09-03 15:30:17 +0200
commitd3b1a1c00d2c984f0815cb260a753d096d3b858e (patch)
tree2931afdea62887b34dd5618be9b407695a4d4631 /keyboard.lua
parentfd8664c80af386572dd47cee076c06d9442ef222 (diff)
downloadQuickie-d3b1a1c00d2c984f0815cb260a753d096d3b858e.tar.gz
Quickie-d3b1a1c00d2c984f0815cb260a753d096d3b858e.tar.bz2
Quickie-d3b1a1c00d2c984f0815cb260a753d096d3b858e.tar.xz
Quickie-d3b1a1c00d2c984f0815cb260a753d096d3b858e.zip
Fix #4: keyboard.disableFocus() not working.
Used undefined variable NO_WIDGET to clear keyboard focus. Same error was made in mouse.lua.
Diffstat (limited to 'keyboard.lua')
-rw-r--r--keyboard.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/keyboard.lua b/keyboard.lua
index 0b20570..de0786e 100644
--- a/keyboard.lua
+++ b/keyboard.lua
@@ -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!