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:
pinkerton%netscape.com 1998-10-30 00:59:29 +00:00
Родитель 578617c0b8
Коммит 2fa9e0e238
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -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;
}