summaryrefslogtreecommitdiff
path: root/src/config/lua/objects/LuaWindow.cpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2026-04-29 17:25:21 +0100
committerVaxry <43317083+vaxerski@users.noreply.github.com>2026-04-29 22:05:32 +0100
commit55a1611fd8150d7bb8d1b6e2b8cc95ffccf31ea2 (patch)
tree88ae2d9bcee6d327c6af97e2afb920020f16432b /src/config/lua/objects/LuaWindow.cpp
parenta92dae5af7bad3af53f6d6b689d71ee900077569 (diff)
desktop/window: expand hidden into proper states
Diffstat (limited to 'src/config/lua/objects/LuaWindow.cpp')
-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));