Revert "lua: do not use otable where table are enough"
This reverts commit a220d46850
.
This commit is contained in:
parent
a220d46850
commit
b0090950a0
2
client.c
2
client.c
|
@ -1105,7 +1105,7 @@ luaA_client_tags(lua_State *L)
|
|||
}
|
||||
|
||||
tags = &globalconf.screens[(*c)->screen].tags;
|
||||
lua_newtable(L);
|
||||
luaA_otable_new(L);
|
||||
for(int i = 0; i < tags->len; i++)
|
||||
if(is_client_tagged(*c, tags->tab[i]))
|
||||
{
|
||||
|
|
2
mouse.c
2
mouse.c
|
@ -1156,7 +1156,7 @@ luaA_button_array_set(lua_State *L, int idx, button_array_t *buttons)
|
|||
int
|
||||
luaA_button_array_get(lua_State *L, button_array_t *buttons)
|
||||
{
|
||||
lua_newtable(L);
|
||||
luaA_otable_new(L);
|
||||
for(int i = 0; i < buttons->len; i++)
|
||||
{
|
||||
luaA_button_userdata_new(L, buttons->tab[i]);
|
||||
|
|
Loading…
Reference in New Issue