From 5bc31ece21d69082f685ae3080a3ccc81f11dd4c Mon Sep 17 00:00:00 2001 From: "dbaron%dbaron.org" Date: Tue, 23 Jan 2007 22:55:29 +0000 Subject: [PATCH] Back out previous fix for bug 330006 due to bug 367927. --- widget/src/gtk2/nsWindow.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/widget/src/gtk2/nsWindow.cpp b/widget/src/gtk2/nsWindow.cpp index 760b3aba1b8c..ed8ad3684c21 100644 --- a/widget/src/gtk2/nsWindow.cpp +++ b/widget/src/gtk2/nsWindow.cpp @@ -741,9 +741,6 @@ nsWindow::SetFocus(PRBool aRaise) // Set focus to the window if (gRaiseWindows && aRaise && toplevelWidget && !GTK_WIDGET_HAS_FOCUS(toplevelWidget) && - // If we're really a child of owningWindow - gdk_window_get_parent(mDrawingarea->clip_window) == - owningWindow->mDrawingarea->inner_window && owningWindow->mIsShown && GTK_IS_WINDOW(owningWindow->mShell)) gtk_window_present(GTK_WINDOW(owningWindow->mShell));