summaryrefslogtreecommitdiff
path: root/src/config/lua/objects/LuaWindow.cpp
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2026-05-06 13:56:12 +0100
committerGitHub <noreply@github.com>2026-05-06 13:56:12 +0100
commit1681bea42dd2f11ba3fe6df05560d0b231de3c76 (patch)
tree899103dbddf675a01758c7cdd379224c9c81a7fb /src/config/lua/objects/LuaWindow.cpp
parent5f1350f522d3fe3af78cbe30a98311763b3509d5 (diff)
config/lua: add simple layout API (#14258)
Adds a simple layout lua api
Diffstat (limited to 'src/config/lua/objects/LuaWindow.cpp')
-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 7fe87334..41edcc78 100644
--- a/src/config/lua/objects/LuaWindow.cpp
+++ b/src/config/lua/objects/LuaWindow.cpp
@@ -176,7 +176,7 @@ static int windowIndex(lua_State* L) {
}
const auto& tiledAlgo = algo->tiledAlgo();
- const std::string name = Layout::Supplementary::algoMatcher()->getNameForTiledAlgo(&typeid(*tiledAlgo.get()));
+ const std::string name = Layout::Supplementary::algoMatcher()->getNameForTiledAlgo(tiledAlgo.get());
lua_newtable(L);
lua_pushstring(L, name.c_str());