From 55a1611fd8150d7bb8d1b6e2b8cc95ffccf31ea2 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Wed, 29 Apr 2026 17:25:21 +0100 Subject: desktop/window: expand hidden into proper states --- src/config/lua/objects/LuaWindow.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/config/lua/objects/LuaWindow.cpp') 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(w->m_realPosition->goal().x)); -- cgit v1.2.3