Bug 212753. Make sure mouse capture is released when combobox popup is hidden. r+sr=bryner,a=mkaply

git-svn-id: svn://10.0.0.236/trunk@146514 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
roc+%cs.cmu.edu
2003-09-02 15:21:13 +00:00
parent 9c8299485e
commit d6f51ea339
7 changed files with 22 additions and 15 deletions

View File

@@ -629,7 +629,7 @@ nsComboboxControlFrame::ShowList(nsIPresContext* aPresContext, PRBool aShowList)
presShell->FlushPendingNotifications(PR_FALSE);
if (widget)
widget->CaptureRollupEvents((nsIRollupListener *)this, mDroppedDown, PR_TRUE);
widget->CaptureRollupEvents((nsIRollupListener *)this, mDroppedDown, aShowList);
}