зеркало из https://github.com/mozilla/gecko-dev.git
rs=jst Make OS/2 go down a Windows path to fix some focus events
This commit is contained in:
Родитель
c33e0f4dbe
Коммит
e10354680d
|
@ -500,7 +500,7 @@ nsEventStateManager::PreHandleEvent(nsIPresContext* aPresContext,
|
|||
// Hold the blur, wait for the focus so we can query the style of the focus
|
||||
// target as to what to do with the event. If appropriate we fire the blur
|
||||
// at that time.
|
||||
#ifdef XP_WIN
|
||||
#if defined(XP_WIN) || defined(XP_OS2)
|
||||
if(! NS_STATIC_CAST(nsFocusEvent*, aEvent)->isMozWindowTakingFocus) {
|
||||
EnsureDocument(aPresContext);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче