зеркало из https://github.com/mozilla/pjs.git
OS/2 only - backout workaround so that if this problem happens, we see it more
This commit is contained in:
Родитель
49202047bb
Коммит
4300bc1ee7
|
@ -1496,14 +1496,9 @@ NS_METHOD nsWindow::SetFocus(PRBool aRaise)
|
|||
#ifdef DEBUG_FOCUS
|
||||
printf("[%x] SetFocus (%d)\n", this, mWindowIdentifier);
|
||||
#endif
|
||||
ULONG sessionID;
|
||||
DosQuerySysInfo(QSV_FOREGROUND_FS_SESSION, QSV_FOREGROUND_FS_SESSION,
|
||||
&sessionID, sizeof(ULONG));
|
||||
if (sessionID <= 0xFF) {
|
||||
mInSetFocus = TRUE;
|
||||
WinSetFocus( HWND_DESKTOP, mWnd);
|
||||
mInSetFocus = FALSE;
|
||||
}
|
||||
mInSetFocus = TRUE;
|
||||
WinSetFocus( HWND_DESKTOP, mWnd);
|
||||
mInSetFocus = FALSE;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче