tag: always call tagged hook with 2 args

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-11-20 17:47:48 +01:00
parent e1ddf089a2
commit ee8bcd6c43
1 changed files with 2 additions and 1 deletions

3
tag.c
View File

@ -153,7 +153,8 @@ tag_client(client_t *c, tag_t *t)
client_need_arrange(c); client_need_arrange(c);
/* call hook */ /* call hook */
luaA_client_userdata_new(globalconf.L, c); luaA_client_userdata_new(globalconf.L, c);
luaA_dofunction(globalconf.L, globalconf.hooks.tagged, 1, 0); luaA_tag_userdata_new(globalconf.L, t);
luaA_dofunction(globalconf.L, globalconf.hooks.tagged, 2, 0);
} }
/** Untag a client with specified tag. /** Untag a client with specified tag.