[gnome-shell/gnome-3-28] st-box-layout: Queue relayout on adjustment changes



commit 9152d3a286defdd7351e2e4acad0323d60bb57f6
Author: Carlos Garnacho <carlosg gnome org>
Date:   Thu Jun 28 14:41:07 2018 +0000

    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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]