tag: always call tagged hook with 2 args
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
e1ddf089a2
commit
ee8bcd6c43
3
tag.c
3
tag.c
|
@ -153,7 +153,8 @@ tag_client(client_t *c, tag_t *t)
|
|||
client_need_arrange(c);
|
||||
/* call hook */
|
||||
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.
|
||||
|
|
Loading…
Reference in New Issue