missed a bit from the last checkin as joki beat me to the repository

This commit is contained in:
saari%netscape.com 2000-09-15 07:02:58 +00:00
parent 56c4834a21
commit 11038e23a2
2 changed files with 14 additions and 2 deletions

View File

@ -478,7 +478,13 @@ nsEventStateManager::PreHandleEvent(nsIPresContext* aPresContext,
if (commandDispatcher) {
commandDispatcher->SetActive(PR_TRUE);
commandDispatcher->SetSuppressFocus(PR_FALSE); // Unsuppress and let the command dispatcher listen again.
PRBool isSuppressed;
commandDispatcher->GetSuppressFocus(&isSuppressed);
while(isSuppressed){
commandDispatcher->SetSuppressFocus(PR_FALSE); // Unsuppress and let the command dispatcher listen again.
commandDispatcher->GetSuppressFocus(&isSuppressed);
}
commandDispatcher->SetSuppressFocusScroll(PR_FALSE);
}
}

View File

@ -478,7 +478,13 @@ nsEventStateManager::PreHandleEvent(nsIPresContext* aPresContext,
if (commandDispatcher) {
commandDispatcher->SetActive(PR_TRUE);
commandDispatcher->SetSuppressFocus(PR_FALSE); // Unsuppress and let the command dispatcher listen again.
PRBool isSuppressed;
commandDispatcher->GetSuppressFocus(&isSuppressed);
while(isSuppressed){
commandDispatcher->SetSuppressFocus(PR_FALSE); // Unsuppress and let the command dispatcher listen again.
commandDispatcher->GetSuppressFocus(&isSuppressed);
}
commandDispatcher->SetSuppressFocusScroll(PR_FALSE);
}
}