[gtk/wip/matthiasc/popup5: 133/151] popover: Stop needles allocations



commit f154fd4c0979687ded3077a1b2ef7ce2bac66a97
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu May 23 00:18:12 2019 +0000

    popover: Stop needles allocations
    
    We were queuing an allocation whenever
    the popover is flipped over, unnecessarily,
    since we don't change the size of the surface.
    
    This was showing up as popovers being invisible
    when flipped over, under X.

 gtk/gtkpopover.c | 3 ---
 1 file changed, 3 deletions(-)
---
diff --git a/gtk/gtkpopover.c b/gtk/gtkpopover.c
index 73ff0aa559..f41a60f787 100644
--- a/gtk/gtkpopover.c
+++ b/gtk/gtkpopover.c
@@ -416,9 +416,6 @@ surface_moved_to_rect (GdkSurface   *surface,
       g_assert_not_reached ();
       break;
     }
-
-  if (priv->final_position != priv->position)
-    gtk_widget_queue_allocate (widget);
 }
 
 static void


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