Re: [PATCH] client: allow setting skip_taskbar

2009-05-28 Thread Julien Danjou
At 1243490010 time_t, koniu wrote:
 +luaA_dofunction_from_registry(L, globalconf.hooks.clients, 0, 0);

Nop, call the property hook. This one is only for client list.

-- 
Julien Danjou
// ᐰ jul...@danjou.info   http://julien.danjou.info
// 9A0D 5FD9 EB42 22F6 8974  C95C A462 B51E C2FE E5CD
// When I get sad, I stop being sad and be awesome instead. True story.


signature.asc
Description: Digital signature


[PATCH] client: allow setting skip_taskbar

2009-05-27 Thread koniu
As per subject.

cheers,
koniu
From 50e6c26eb608694b53bd1aed813246faac21f4c9 Mon Sep 17 00:00:00 2001
From: koniu gkusni...@gmail.com
Date: Thu, 28 May 2009 06:37:17 +0100
Subject: [PATCH] client: allow setting skip_taskbar

Signed-off-by: koniu gkusni...@gmail.com
---
 client.c |5 +
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/client.c b/client.c
index ddc1856..3222ba2 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;
 }
-- 
1.6.3.1