fix overzealous ifdef causing some keys to not go into gecko. r=saari/sr=sfraser. bug#108722

This commit is contained in:
pinkerton%netscape.com 2001-11-14 22:28:04 +00:00
parent f8bd0c7937
commit caaf5a5458

View File

@ -802,8 +802,8 @@ void nsMacMessagePump::DoKey(EventRecord &anEvent)
//}
//else
{
#if USE_MENUSELECT
PRBool handled = DispatchOSEventToRaptor(anEvent, GetFrontApplicationWindow());
#if USE_MENUSELECT
/* we want to call this if cmdKey is pressed and no other modifier keys are pressed */
if((!handled) && (anEvent.what == keyDown) && (anEvent.modifiers == cmdKey) )
{