Bug 1042542, Rollup popups when a window is minimized, r=karlt
☠☠ backed out by 04c1a7c2b578 ☠ ☠
authorNeil Deakin <neil@mozilla.com>
Fri, 15 Aug 2014 13:56:57 -0400
changeset 199905 dd013a36e5d936d00d4ce25a725728653336588b
parent 199832 e8d9ec641ec6b0d2d0ce34e22beccc82d851b322
child 199906 9dad28d06cb5326729ded0b8c9ecf1f42d7cf5b3
push id9784
push userryanvm@gmail.com
push dateSat, 16 Aug 2014 21:45:40 +0000
treeherderb2g-inbound@94ba78a42305 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskarlt
bugs1042542
milestone34.0a1
Bug 1042542, Rollup popups when a window is minimized, r=karlt
widget/gtk/nsWindow.cpp
--- a/widget/gtk/nsWindow.cpp
+++ b/widget/gtk/nsWindow.cpp
@@ -3225,16 +3225,18 @@ nsWindow::OnWindowStateEvent(GtkWidget *
     // states
     if ((aEvent->changed_mask
          & (GDK_WINDOW_STATE_ICONIFIED |
             GDK_WINDOW_STATE_MAXIMIZED |
             GDK_WINDOW_STATE_FULLSCREEN)) == 0) {
         return;
     }
 
+    CheckForRollup(0, 0, false, true);
+
     if (aEvent->new_window_state & GDK_WINDOW_STATE_ICONIFIED) {
         LOG(("\tIconified\n"));
         mSizeState = nsSizeMode_Minimized;
 #ifdef ACCESSIBILITY
         DispatchMinimizeEventAccessible();
 #endif //ACCESSIBILITY
     }
     else if (aEvent->new_window_state & GDK_WINDOW_STATE_FULLSCREEN) {