client: emit x,y,width,height signal on size changes
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
26a367fab0
commit
b94a32c281
7
client.c
7
client.c
|
@ -904,6 +904,13 @@ client_resize(client_t *c, area_t geometry, bool hints)
|
||||||
/* execute hook */
|
/* execute hook */
|
||||||
hook_property(c, "geometry");
|
hook_property(c, "geometry");
|
||||||
|
|
||||||
|
luaA_object_push(globalconf.L, c);
|
||||||
|
luaA_object_emit_signal(globalconf.L, -1, "property::x", 0);
|
||||||
|
luaA_object_emit_signal(globalconf.L, -1, "property::y", 0);
|
||||||
|
luaA_object_emit_signal(globalconf.L, -1, "property::width", 0);
|
||||||
|
luaA_object_emit_signal(globalconf.L, -1, "property::height", 0);
|
||||||
|
lua_pop(globalconf.L, 1);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue