mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 06:15:43 +00:00
r=mkaply, sr=blizzard (platform specific), a=mkaply Lost OS/2 only #ifdef change from pedemonte to make us like Windows
This commit is contained in:
parent
50881c9ae5
commit
611b4c2759
@ -1376,7 +1376,7 @@ NS_IMETHODIMP nsMenuPopupFrame::ConsumeOutsideClicks(PRBool& aConsumeOutsideClic
|
||||
if (parentTag == nsXULAtoms::menulist)
|
||||
return NS_OK; // Consume outside clicks for combo boxes on all platforms
|
||||
if (parentTag == nsXULAtoms::menu || parentTag == nsXULAtoms::popupset) {
|
||||
#ifdef XP_WIN
|
||||
#if defined(XP_WIN) || defined(XP_OS2)
|
||||
// Don't consume outside clicks for menus in Windows
|
||||
aConsumeOutsideClicks = PR_FALSE;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user