[libhandy] flap: Manually queue redraw when allocating



commit b3613fcef38db47cb37484775ab0b2222ee2d388
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Wed Mar 10 01:48:32 2021 +0500

    flap: Manually queue redraw when allocating
    
    This seems to help with glitches when the flap child resizes while the
    shadow is visible.

 src/hdy-flap.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/hdy-flap.c b/src/hdy-flap.c
index 36e5c59c..72dd2a6c 100644
--- a/src/hdy-flap.c
+++ b/src/hdy-flap.c
@@ -984,6 +984,7 @@ hdy_flap_size_allocate (GtkWidget     *widget,
                   self->fold_progress > 0);
 
   gtk_widget_set_clip (widget, alloc);
+  gtk_widget_queue_draw (widget);
 }
 
 /* This private method is prefixed by the call name because it will be a virtual


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