[gtk/wip/matthiasc/popup5: 144/152] popover: Stop needles allocations



commit b92ca1ec7b5e7b7693aa11f063be9bd58cf5f71d
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 368e5cc0b3..0a44ec3958 100644
--- a/gtk/gtkpopover.c
+++ b/gtk/gtkpopover.c
@@ -431,9 +431,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]