invlokde rollup when WM_SIZE comes in, which is typically from the window being minimized

Bug 79720 r=kmcclusk sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@94483 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rods%netscape.com 2001-05-10 12:24:59 +00:00
parent 0046ce8f92
commit 11328d5561

View File

@ -830,7 +830,7 @@ nsWindow :: DealWithPopups ( UINT inMsg, WPARAM inWParam, LPARAM inLParam, LRESU
if (inMsg == WM_ACTIVATE || inMsg == WM_NCLBUTTONDOWN || inMsg == WM_LBUTTONDOWN ||
inMsg == WM_RBUTTONDOWN || inMsg == WM_MBUTTONDOWN ||
inMsg == WM_NCMBUTTONDOWN || inMsg == WM_NCRBUTTONDOWN || inMsg == WM_MOUSEACTIVATE ||
inMsg == WM_MOUSEWHEEL || inMsg == uMSH_MOUSEWHEEL)
inMsg == WM_MOUSEWHEEL || inMsg == uMSH_MOUSEWHEEL || inMsg == WM_SIZE)
{
// Rollup if the event is outside the popup.
PRBool rollup = !nsWindow::EventIsInsideWindow(inMsg, (nsWindow*)gRollupWidget);