diff --git a/client.c b/client.c index 2add23c04..5a99a3878 100644 --- a/client.c +++ b/client.c @@ -1105,7 +1105,7 @@ luaA_client_tags(lua_State *L) } tags = &globalconf.screens[(*c)->screen].tags; - luaA_otable_new(L); + lua_newtable(L); for(int i = 0; i < tags->len; i++) if(is_client_tagged(*c, tags->tab[i])) { diff --git a/mouse.c b/mouse.c index b7699661b..0990b4309 100644 --- a/mouse.c +++ b/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) { - luaA_otable_new(L); + lua_newtable(L); for(int i = 0; i < buttons->len; i++) { luaA_button_userdata_new(L, buttons->tab[i]); diff --git a/tag.c b/tag.c index 0399a78a4..a0a30109b 100644 --- a/tag.c +++ b/tag.c @@ -322,7 +322,7 @@ luaA_tag_clients(lua_State *L) } } - luaA_otable_new(L); + lua_newtable(L); for(i = 0; i < clients->len; i++) { luaA_client_userdata_new(L, clients->tab[i]);