r/sr=mkaply, a=mtschrep (OS/2 only)
Patch from Rich Walsh/Peter Weilbacher - focus fix
This commit is contained in:
mkaply%us.ibm.com 2005-11-09 16:14:33 +00:00
parent 506b1a3f58
commit d1bc1ab2ae

View File

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