зеркало из https://github.com/mozilla/pjs.git
Bug 306878. Fire accessible focus events when alt+tabbing back to app. r=parente, sr=jst
This commit is contained in:
Родитель
dd3d478bb0
Коммит
506e74f744
|
@ -688,6 +688,7 @@ NS_IMETHODIMP nsRootAccessible::HandleEvent(nsIDOMEvent* aEvent)
|
||||||
if (accessible == this) {
|
if (accessible == this) {
|
||||||
// Top level window focus events already automatically fired by MSAA
|
// Top level window focus events already automatically fired by MSAA
|
||||||
// based on HWND activities. Don't fire the extra focus event.
|
// based on HWND activities. Don't fire the extra focus event.
|
||||||
|
gLastFocusedNode = mDOMNode;
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
FireAccessibleFocusEvent(accessible, targetNode);
|
FireAccessibleFocusEvent(accessible, targetNode);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче