From a55936d559d29dbde1816d6ab464833a1671f3ca Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Fri, 28 Aug 2009 17:04:59 +0200 Subject: [PATCH] titlebar: emit signal when detaching titlebar Signed-off-by: Julien Danjou --- titlebar.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/titlebar.c b/titlebar.c index 50f68230..2a363308 100644 --- a/titlebar.c +++ b/titlebar.c @@ -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(); } } -- 2.11.4.GIT