[gtk/wip/matthiasc/popup5: 136/145] popover: Stop needles allocations



commit 35ff5f8fce77d68e41683e417cf83c53b90725c2
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]