diff --git a/client.c b/client.c index 305fc4da7..9975bf18b 100644 --- a/client.c +++ b/client.c @@ -1628,6 +1628,9 @@ luaA_client_struts(lua_State *L) ewmh_update_client_strut(c); hook_property(c, "struts"); + luaA_object_push(globalconf.L, c); + luaA_object_emit_signal(L, -1, "property::struts", 0); + lua_pop(globalconf.L, 1); } } diff --git a/ewmh.c b/ewmh.c index 25aeac375..3f1f24f12 100644 --- a/ewmh.c +++ b/ewmh.c @@ -620,6 +620,9 @@ ewmh_process_client_strut(client_t *c, xcb_get_property_reply_t *strut_r) c->strut.bottom_end_x = strut[11]; hook_property(c, "struts"); + luaA_object_push(globalconf.L, c); + luaA_object_emit_signal(globalconf.L, -1, "property::struts", 0); + lua_pop(globalconf.L, 1); } }