Forgot to clarify the \lfield comment, see amended patch.
From d35d0873374eca0d9f7967f296a6233eabc25eaa Mon Sep 17 00:00:00 2001 From: koniu <[email protected]> Date: Thu, 28 May 2009 06:37:17 +0100 Subject: [PATCH] client: allow setting skip_taskbar
Signed-off-by: koniu <[email protected]> --- client.c | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/client.c b/client.c index ddc1856..5b58ecc 100644 --- a/client.c +++ b/client.c @@ -1508,6 +1508,11 @@ luaA_client_newindex(lua_State *L) else titlebar_client_attach(c); break; + case A_TK_SKIP_TASKBAR: + c->skiptb = luaA_checkboolean(L, 3); + if(globalconf.hooks.clients != LUA_REFNIL) + luaA_dofunction_from_registry(L, globalconf.hooks.clients, 0, 0); + break; default: return 0; } @@ -1521,7 +1526,7 @@ luaA_client_newindex(lua_State *L) * \luastack * \lfield id The window X id. * \lfield name The client title. - * \lfield skip_taskbar True if the client does not want to be in taskbar. + * \lfield skip_taskbar If true the client won't be shown in the tasklist. * \lfield type The window type (desktop, normal, dock, …). * \lfield class The client class. * \lfield instance The client instance. -- 1.6.3.1
