client: deprecate visible_get

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-09-18 14:53:44 +02:00
parent 8a7e522ba1
commit ee113b2747
1 changed files with 3 additions and 1 deletions

View File

@ -896,7 +896,7 @@ luaA_client_get(lua_State *L)
return 1; return 1;
} }
/** Get only visible clients for a screen. /** Get only visible clients for a screen (DEPRECATED).
* \param L The Lua VM state. * \param L The Lua VM state.
* \luastack * \luastack
* \lparam A screen number. * \lparam A screen number.
@ -911,6 +911,8 @@ luaA_client_visible_get(lua_State *L)
luaA_checkscreen(screen); luaA_checkscreen(screen);
deprecate();
lua_newtable(L); lua_newtable(L);
for(c = globalconf.clients; c; c = c->next) for(c = globalconf.clients; c; c = c->next)