Loading widget/src/gtk2/nsWindow.cpp +7 −2 Original line number Diff line number Diff line Loading @@ -541,13 +541,18 @@ nsWindow::SetZIndex(PRInt32 aZIndex) NS_ASSERTION(!mContainer, "Expected Mozilla child widget"); // We skip the nsWindows that don't have mDrawingareas. // These are probably in the process of being destroyed. if (!GetNextSibling()) { // We're to be on top. if (mDrawingarea) gdk_window_raise(mDrawingarea->clip_window); } else { // All the siblings before us need to be below our widget. for (nsWindow* w = this; w; w = NS_STATIC_CAST(nsWindow*, w->GetPrevSibling())) { if (w->mDrawingarea) gdk_window_lower(w->mDrawingarea->clip_window); } } Loading Loading
widget/src/gtk2/nsWindow.cpp +7 −2 Original line number Diff line number Diff line Loading @@ -541,13 +541,18 @@ nsWindow::SetZIndex(PRInt32 aZIndex) NS_ASSERTION(!mContainer, "Expected Mozilla child widget"); // We skip the nsWindows that don't have mDrawingareas. // These are probably in the process of being destroyed. if (!GetNextSibling()) { // We're to be on top. if (mDrawingarea) gdk_window_raise(mDrawingarea->clip_window); } else { // All the siblings before us need to be below our widget. for (nsWindow* w = this; w; w = NS_STATIC_CAST(nsWindow*, w->GetPrevSibling())) { if (w->mDrawingarea) gdk_window_lower(w->mDrawingarea->clip_window); } } Loading