use nsMacWindow::MoveToGlobalPoint when moving a window after dragging. bug 23395.
This commit is contained in:
Родитель
399ae925cc
Коммит
d57b109338
|
@ -1058,7 +1058,7 @@ PRBool nsMacEventHandler::HandleMouseDownEvent(
|
|||
macPoint = topLeft(whichWindow->portRect);
|
||||
#endif
|
||||
::LocalToGlobal(&macPoint);
|
||||
mTopLevelWidget->Move(macPoint.h, macPoint.v);
|
||||
mTopLevelWidget->MoveToGlobalPoint(macPoint.h, macPoint.v);
|
||||
if (nsnull != gRollupListener && (nsnull != gRollupWidget) ) {
|
||||
gRollupListener->Rollup();
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче