From 9aeda907382736358604fadd60a8f2a1ba629cbb Mon Sep 17 00:00:00 2001 From: Maarten Maathuis Date: Thu, 26 Mar 2009 22:13:46 +0100 Subject: [PATCH] client: add a "struts" property Signed-off-by: Julien Danjou --- client.c | 2 ++ ewmh.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/client.c b/client.c index d654b21af..439d9f7f9 100644 --- a/client.c +++ b/client.c @@ -1476,6 +1476,8 @@ luaA_client_struts(lua_State *L) client_need_arrange((*c)); /* All the wiboxes (may) need to be repositioned. */ wibox_update_positions(); + + hooks_property(*c, "struts"); } } diff --git a/ewmh.c b/ewmh.c index f81f8f757..382bdf27d 100644 --- a/ewmh.c +++ b/ewmh.c @@ -642,6 +642,8 @@ ewmh_process_client_strut(client_t *c, xcb_get_property_reply_t *strut_r) client_need_arrange(c); /* All the wiboxes (may) need to be repositioned. */ wibox_update_positions(); + + hooks_property(c, "struts"); } }