titlebar: emit signal when changing titlebar property

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-08-28 11:54:22 +02:00
parent 0f8bbb775b
commit ce5c171b36
1 changed files with 4 additions and 0 deletions

View File

@ -269,6 +269,10 @@ titlebar_client_attach(client_t *c)
xcb_map_window(globalconf.connection, t->window); xcb_map_window(globalconf.connection, t->window);
hook_property(c, "titlebar"); 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(); client_stack();
} }