titlebar: emit signal when detaching titlebar

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-08-28 17:04:59 +02:00
parent 95f3f8bdf9
commit a55936d559
1 changed files with 3 additions and 0 deletions

View File

@ -210,6 +210,9 @@ titlebar_client_detach(client_t *c)
c->titlebar = NULL;
hook_property(c, "titlebar");
luaA_object_push(globalconf.L, c);
luaA_object_emit_signal(globalconf.L, -1, "property::titlebar", 0);
lua_pop(globalconf.L, 1);
client_stack();
}
}