config/lua: fix window object to selector logic

This commit is contained in:
Vaxry 2026-04-26 23:44:33 +01:00
parent a5baf45d69
commit 3ed490ac01
No known key found for this signature in database

View file

@ -208,7 +208,7 @@ std::optional<std::string> Internal::windowSelectorFromLuaSelectorOrObject(lua_S
return std::nullopt;
}
return std::format("0x{:x}", reinterpret_cast<uintptr_t>(w.get()));
return std::format("address:0x{:x}", reinterpret_cast<uintptr_t>(w.get()));
}
if (lua_isstring(L, idx) || lua_isnumber(L, idx))