summaryrefslogtreecommitdiff
path: root/src/config/lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/lua')
-rw-r--r--src/config/lua/objects/LuaWindow.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/config/lua/objects/LuaWindow.cpp b/src/config/lua/objects/LuaWindow.cpp
index bf332584..b1a71aaa 100644
--- a/src/config/lua/objects/LuaWindow.cpp
+++ b/src/config/lua/objects/LuaWindow.cpp
@@ -71,6 +71,10 @@ static int windowIndex(lua_State* L) {
lua_pushboolean(L, w->m_isMapped);
else if (key == "hidden")
lua_pushboolean(L, w->isHidden());
+ else if (key == "visible")
+ lua_pushboolean(L, w->visible());
+ else if (key == "acceptsInput")
+ lua_pushboolean(L, w->acceptsInput());
else if (key == "at") {
lua_newtable(L);
lua_pushinteger(L, sc<int>(w->m_realPosition->goal().x));