From 9152d3a286defdd7351e2e4acad0323d60bb57f6 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Thu, 28 Jun 2018 14:41:07 +0000 Subject: [PATCH] st-box-layout: Queue relayout on adjustment changes The actor allocation doesn't change per-se, but apply_transform() will practically transform it. In order to have the paint volume update accordingly, queue a relayout. (cherry picked from commit ab4c72d758a23824e8e4a2f35d0b5b479777f294) --- src/st/st-box-layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/st/st-box-layout.c b/src/st/st-box-layout.c index 12fe86910..3acb15c40 100644 --- a/src/st/st-box-layout.c +++ b/src/st/st-box-layout.c @@ -90,7 +90,7 @@ adjustment_value_notify_cb (StAdjustment *adjustment, GParamSpec *pspec, StBoxLayout *box) { - clutter_actor_queue_redraw (CLUTTER_ACTOR (box)); + clutter_actor_queue_relayout (CLUTTER_ACTOR (box)); } static void