зеркало из https://github.com/mozilla/gecko-dev.git
fix bug where dragging windows around would cause them to move twice by not passing the window move event down.
This commit is contained in:
Родитель
578617c0b8
Коммит
2fa9e0e238
|
@ -220,7 +220,9 @@ void nsMacMessagePump::DoMouseDown(EventRecord &anEvent)
|
|||
::InsetRect(&screenRect, 4, 4);
|
||||
screenRect.top += ::LMGetMBarHeight();
|
||||
::DragWindow(whichWindow, anEvent.where, &screenRect);
|
||||
DispatchOSEventToRaptor(anEvent, whichWindow);
|
||||
// Why is this here? I don't think we want to do this as the event is totally
|
||||
// handled by the time ::DragWindow() completes (pinkerton).
|
||||
// DispatchOSEventToRaptor(anEvent, whichWindow);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче