diff --git a/widget/src/motif/nsWindow.cpp b/widget/src/motif/nsWindow.cpp index 29d62507534..93197d59e84 100644 --- a/widget/src/motif/nsWindow.cpp +++ b/widget/src/motif/nsWindow.cpp @@ -29,7 +29,7 @@ #include "nsXtEventHandler.h" #include "X11/Xlib.h" -#include "Xm/Xm.h" +#include "Xm/XmP.h" #include "Xm/Xm.h" #include "Xm/MainW.h" #include "Xm/Frame.h" @@ -47,6 +47,8 @@ #define DBG 0 +extern void XtMoveWindow(Widget w, Position x, Position y); + Widget gFirstTopLevelWindow = 0; static NS_DEFINE_IID(kIWidgetIID, NS_IWIDGET_IID); @@ -656,6 +658,7 @@ void nsWindow::Move(PRUint32 aX, PRUint32 aY) // UpdateVisibilityFlag(); // UpdateDisplay(); XtMoveWidget(mWidget, aX, GetYCoord(aY)); +// XtVaSetValues(mWidget, XmNx, aX, XmNy, GetYCoord(aY), nsnull); } //-------------------------------------------------------------------------