From caaf5a545817a03f6f3c8defe20c49d0cdce5060 Mon Sep 17 00:00:00 2001 From: "pinkerton%netscape.com" Date: Wed, 14 Nov 2001 22:28:04 +0000 Subject: [PATCH] fix overzealous ifdef causing some keys to not go into gecko. r=saari/sr=sfraser. bug#108722 --- widget/src/mac/nsMacMessagePump.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widget/src/mac/nsMacMessagePump.cpp b/widget/src/mac/nsMacMessagePump.cpp index 7938ce40a97d..80de9b7fcba6 100644 --- a/widget/src/mac/nsMacMessagePump.cpp +++ b/widget/src/mac/nsMacMessagePump.cpp @@ -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) ) {