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 ab4c72d758)
This commit is contained in:
Carlos Garnacho 2018-06-28 14:41:07 +00:00 committed by Marco Trevisan
parent ba33a05dd2
commit 9152d3a286

View File

@ -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