mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-06 00:31:27 +00:00
use nsMacWindow::MoveToGlobalPoint when moving a window after dragging. bug 23395.
This commit is contained in:
parent
a28fb84e28
commit
b301f353f5
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user