client: emit property::role after setting value
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
41580c91d8
commit
6e05e20664
2
client.c
2
client.c
|
@ -164,8 +164,8 @@ client_set_role(lua_State *L, int cidx, const char *role)
|
|||
{
|
||||
client_t *c = luaA_client_checkudata(L, cidx);
|
||||
p_delete(&c->role);
|
||||
luaA_object_emit_signal(L, cidx, "property::role", 0);
|
||||
c->role = a_strdup(role);
|
||||
luaA_object_emit_signal(L, cidx, "property::role", 0);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in New Issue