[gtk+] gtkwindow: fix regression with firefox dropdown menu



commit f30b4ba22e309f3bfdde19aa5f149df9f5ac5f6d
Author: Benjamin Otte <otte redhat com>
Date:   Thu Nov 26 11:00:17 2015 +0100

    gtkwindow: fix regression with firefox dropdown menu
    
    Fix a regression introduced by:
    
    commit 6866d1c widget: Make gtk_widget_queue_allocate() not resize
    
    Where the dropdown menu in Firefox would not be relocated after the
    toplevel window is moved.
    
    bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=758609

 gtk/gtkwindow.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index d2043cb..049e05f 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -5645,6 +5645,7 @@ gtk_window_move (GtkWindow *window,
   else
     {
       /* Save this position to apply on mapping */
+      gtk_widget_queue_resize (widget);
       info->initial_x = x;
       info->initial_y = y;
       info->initial_pos_set = TRUE;


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