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:
mkaply%us.ibm.com 2003-08-13 20:18:24 +00:00
Родитель 254585acda
Коммит 838803e7e4
1 изменённых файлов: 0 добавлений и 4 удалений

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

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