From ee113b27473309b6a71674cbd7db5223e81f2f24 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Thu, 18 Sep 2008 14:53:44 +0200 Subject: [PATCH] client: deprecate visible_get Signed-off-by: Julien Danjou --- client.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client.c b/client.c index 13788ea5d..8513a28c6 100644 --- a/client.c +++ b/client.c @@ -896,7 +896,7 @@ luaA_client_get(lua_State *L) return 1; } -/** Get only visible clients for a screen. +/** Get only visible clients for a screen (DEPRECATED). * \param L The Lua VM state. * \luastack * \lparam A screen number. @@ -911,6 +911,8 @@ luaA_client_visible_get(lua_State *L) luaA_checkscreen(screen); + deprecate(); + lua_newtable(L); for(c = globalconf.clients; c; c = c->next)