зеркало из https://github.com/mozilla/pjs.git
r=pedemonte, sr=blizzard, a=mkaply OS/2 only - Don't do NS_GOTFOCUS when we get activated - bad focus stuff happens
This commit is contained in:
Родитель
254585acda
Коммит
838803e7e4
|
@ -2526,10 +2526,6 @@ PRBool nsWindow::ProcessMessage( ULONG msg, MPARAM mp1, MPARAM mp2, MRESULT &rc)
|
|||
if (mp1) {
|
||||
/* The window is being activated */
|
||||
gJustGotActivate = PR_TRUE;
|
||||
#ifdef DEBUG_FOCUS
|
||||
printf("[%x] NS_GOTFOCUS (%d)\n", this, mWindowIdentifier);
|
||||
#endif
|
||||
result = DispatchFocus(NS_GOTFOCUS, isMozWindowTakingFocus);
|
||||
} else {
|
||||
/* The window is being deactivated */
|
||||
gJustGotDeactivate = PR_TRUE;
|
||||
|
|
Загрузка…
Ссылка в новой задаче