From 5c8a4dee4a1dde10e91bc8cd2c1efb9959e22e97 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 20 Oct 2008 17:27:18 +0200 Subject: [PATCH] client: export skip_taskbar Signed-off-by: Julien Danjou --- client.c | 7 +++++-- common/tokenize.gperf | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/client.c b/client.c index 600fb0b97..dd8a19882 100644 --- a/client.c +++ b/client.c @@ -1325,6 +1325,7 @@ luaA_client_newindex(lua_State *L) * \return The number of elements pushed on stack. * \luastack * \lfield name The client title. + * \lfield skip_taskbar True if the client does not want to be in taskbar. * \lfield type The window type (desktop, normal, dock, …). * \lfield class The client class. * \lfield instance The client instance. @@ -1333,8 +1334,7 @@ luaA_client_newindex(lua_State *L) * \lfield machine The machine client is running on. * \lfield icon_name The client name when iconified. * \lfield screen Client screen number. - * \lfield hide Define if the client must be hidden, i.e. never mapped, not - * visible in taskbar. + * \lfield hide Define if the client must be hidden, i.e. never mapped, * invisible in taskbar. * \lfield minimize Define it the client must be iconify, i.e. only visible in * taskbar. @@ -1375,6 +1375,9 @@ luaA_client_index(lua_State *L) case A_TK_NAME: lua_pushstring(L, (*c)->name); break; + case A_TK_SKIP_TASKBAR: + lua_pushboolean(L, (*c)->skiptb); + break; case A_TK_TYPE: switch((*c)->type) { diff --git a/common/tokenize.gperf b/common/tokenize.gperf index 9041e127a..ee3c4bb59 100644 --- a/common/tokenize.gperf +++ b/common/tokenize.gperf @@ -72,6 +72,7 @@ shadow_offset Shift show_icons sizehints +skip_taskbar south sticky text