Suppress NS_MOVE,NS_CREATE, NS_SETZLEVEL events in the viewmanager. b=112861 r=rods sr=attinasi

This commit is contained in:
kmcclusk%netscape.com 2001-12-06 02:40:41 +00:00
Родитель 51e311e86f
Коммит 23ba04e8cc
1 изменённых файлов: 6 добавлений и 0 удалений

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

@ -1817,7 +1817,13 @@ NS_IMETHODIMP nsViewManager::DispatchEvent(nsGUIEvent *aEvent, nsEventStatus *aS
break;
}
case NS_CREATE:
case NS_DESTROY:
case NS_SETZLEVEL:
case NS_MOVE:
/* Don't pass these events through. Passing them through
causes performance problems on pages with lots of views/frames
@see bug 112861 */
*aStatus = nsEventStatus_eConsumeNoDefault;
break;