mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 14:25:52 +00:00
r/sr=mkaply, a=mtschrep (OS/2 only) Patch from Rich Walsh/Peter Weilbacher - focus fix
This commit is contained in:
parent
506b1a3f58
commit
d1bc1ab2ae
@ -476,6 +476,10 @@ MRESULT nsFrameWindow::FrameMessage( ULONG msg, MPARAM mp1, MPARAM mp2)
|
||||
|
||||
case WM_ACTIVATE:
|
||||
DEBUGFOCUS(frame WM_ACTIVATE);
|
||||
if (SHORT1FROMMP(mp1) &&
|
||||
!(WinQueryWindowULong(mFrameWnd, QWL_STYLE) & WS_MINIMIZED)) {
|
||||
bDone = DispatchFocus(NS_GOTFOCUS, PR_TRUE);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user