client: deprecate visible_get
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
8a7e522ba1
commit
ee113b2747
4
client.c
4
client.c
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue