mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
tag: unref after calling hook
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
530b170cf0
commit
e1ddf089a2
1 changed files with 1 additions and 1 deletions
2
tag.c
2
tag.c
|
@ -168,12 +168,12 @@ untag_client(client_t *c, tag_t *t)
|
|||
{
|
||||
client_need_arrange(c);
|
||||
client_array_take(&t->clients, i);
|
||||
tag_unref(&t);
|
||||
client_saveprops_tags(c);
|
||||
/* call hook */
|
||||
luaA_client_userdata_new(globalconf.L, c);
|
||||
luaA_tag_userdata_new(globalconf.L, t);
|
||||
luaA_dofunction(globalconf.L, globalconf.hooks.tagged, 2, 0);
|
||||
tag_unref(&t);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue