Bug 329810, middle click on a link does not work in Camino trunk builds r+sr=bz

This commit is contained in:
Olli.Pettay%helsinki.fi 2006-03-09 18:42:09 +00:00
parent 0044d98e03
commit 6b93b9812a
2 changed files with 2 additions and 0 deletions

View File

@ -1481,6 +1481,7 @@ nsGlobalWindow::PreHandleEvent(nsEventChainPreVisitor& aVisitor)
PRUint32 msg = aVisitor.mEvent->message;
aVisitor.mCanHandle = PR_TRUE;
aVisitor.mForceContentDispatch = PR_TRUE; //FIXME! Bug 329119
if ((msg == NS_MOUSE_MOVE) && gEntropyCollector) {
//Chances are this counter will overflow during the life of the
//process, but that's OK for our case. Means we get a little

View File

@ -249,6 +249,7 @@ NS_IMETHODIMP
nsWindowRoot::PreHandleChromeEvent(nsEventChainPreVisitor& aVisitor)
{
aVisitor.mCanHandle = PR_TRUE;
aVisitor.mForceContentDispatch = PR_TRUE; //FIXME! Bug 329119
// To keep mWindow alive
aVisitor.mItemData = mWindow;
return NS_OK;