diff --git a/widget/src/gtk2/nsWindow.cpp b/widget/src/gtk2/nsWindow.cpp index da55bcea574c..196422100028 100644 --- a/widget/src/gtk2/nsWindow.cpp +++ b/widget/src/gtk2/nsWindow.cpp @@ -576,16 +576,7 @@ nsWindow::Move(PRInt32 aX, PRInt32 aY) gtk_window_move(GTK_WINDOW(mShell), newrect.x, newrect.y); } else { - // We only move the toplevel window if someone has - // actually placed the window somewhere. If no placement - // has taken place, we just let the window manager Do The - // Right Thing. - // XXX Uhhh ... aX and aY are in twips, not screen coordinates - // XXX mPlaced is always PR_TRUE here, see above - if (mPlaced) { - NS_WARNING("BOGUS code reached!"); - gtk_window_move(GTK_WINDOW(mShell), aX, aY); - } + gtk_window_move(GTK_WINDOW(mShell), aX, aY); } } else if (mDrawingarea) {