[gtk/wip/matthiasc/popup5: 225/234] popover: Stop needles allocations



commit a4e743e443fb97972ed027d18e2ec3f441b805c1
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]