diff options
| author | Vaxry <vaxry@vaxry.net> | 2026-04-29 17:25:21 +0100 |
|---|---|---|
| committer | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2026-04-29 22:05:32 +0100 |
| commit | 55a1611fd8150d7bb8d1b6e2b8cc95ffccf31ea2 (patch) | |
| tree | 88ae2d9bcee6d327c6af97e2afb920020f16432b /src/config/lua/objects/LuaWindow.cpp | |
| parent | a92dae5af7bad3af53f6d6b689d71ee900077569 (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.cpp | 4 |
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)); |
