From e5be281ff3883124cebe7a630af0e9bc595207fb Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Sat, 31 Dec 2016 15:31:41 +0100 Subject: [PATCH] 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 --- objects/client.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/objects/client.c b/objects/client.c index eb4de5007..ac3c9cc2b 100644 --- a/objects/client.c +++ b/objects/client.c @@ -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); } }