mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-28 19:38:13 +00:00
missed a bit from the last checkin as joki beat me to the repository
This commit is contained in:
parent
56c4834a21
commit
11038e23a2
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user