client: add a "struts" property

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Maarten Maathuis 2009-03-26 22:13:46 +01:00 committed by Julien Danjou
parent 47efde17f5
commit 9aeda90738
2 changed files with 4 additions and 0 deletions

View File

@ -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");
}
}

2
ewmh.c
View File

@ -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");
}
}