Bug 306878. Fire accessible focus events when alt+tabbing back to app. r=parente, sr=jst

This commit is contained in:
aaronleventhal%moonset.net 2005-09-07 00:22:34 +00:00
Родитель dd3d478bb0
Коммит 506e74f744
1 изменённых файлов: 1 добавлений и 0 удалений

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

@ -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);