Add signal property::size_hints to clients (#1768)
This signal is already documented, but so far it did not exist. Fixes: https://github.com/awesomeWM/awesome/issues/1741 Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
155c37e759
commit
a33527a46c
|
@ -160,9 +160,15 @@ property_get_wm_normal_hints(client_t *c)
|
||||||
void
|
void
|
||||||
property_update_wm_normal_hints(client_t *c, xcb_get_property_cookie_t cookie)
|
property_update_wm_normal_hints(client_t *c, xcb_get_property_cookie_t cookie)
|
||||||
{
|
{
|
||||||
|
lua_State *L = globalconf_get_lua_State();
|
||||||
|
|
||||||
xcb_icccm_get_wm_normal_hints_reply(globalconf.connection,
|
xcb_icccm_get_wm_normal_hints_reply(globalconf.connection,
|
||||||
cookie,
|
cookie,
|
||||||
&c->size_hints, NULL);
|
&c->size_hints, NULL);
|
||||||
|
|
||||||
|
luaA_object_push(L, c);
|
||||||
|
luaA_object_emit_signal(L, -1, "property::size_hints", 0);
|
||||||
|
lua_pop(L, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
xcb_get_property_cookie_t
|
xcb_get_property_cookie_t
|
||||||
|
|
Loading…
Reference in New Issue