mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 02:57:38 +00:00
fix overzealous ifdef causing some keys to not go into gecko. r=saari/sr=sfraser. bug#108722
This commit is contained in:
parent
f8bd0c7937
commit
caaf5a5458
@ -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) )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user