client_set_sticky: Update screen workarea

This partially fixes test-struts.lua. The test now fails at some later
part.

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2016-12-31 15:31:41 +01:00
parent feb4fb0fbc
commit e5be281ff3
1 changed files with 2 additions and 0 deletions

View File

@ -1797,6 +1797,8 @@ client_set_sticky(lua_State *L, int cidx, bool s)
{
c->sticky = s;
banning_need_update();
if(strut_has_value(&c->strut))
screen_update_workarea(c->screen);
luaA_object_emit_signal(L, cidx, "property::sticky", 0);
}
}