summaryrefslogtreecommitdiff
path: root/src/config/lua/objects
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/lua/objects')
-rw-r--r--src/config/lua/objects/LuaWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/lua/objects/LuaWindow.cpp b/src/config/lua/objects/LuaWindow.cpp
index b1a71aaa..1d933462 100644
--- a/src/config/lua/objects/LuaWindow.cpp
+++ b/src/config/lua/objects/LuaWindow.cpp
@@ -73,7 +73,7 @@ static int windowIndex(lua_State* L) {
lua_pushboolean(L, w->isHidden());
else if (key == "visible")
lua_pushboolean(L, w->visible());
- else if (key == "acceptsInput")
+ else if (key == "accepts_input")
lua_pushboolean(L, w->acceptsInput());
else if (key == "at") {
lua_newtable(L);