summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--osdep/macosx_events.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/osdep/macosx_events.m b/osdep/macosx_events.m
index 9e3ced3197..23715acc52 100644
--- a/osdep/macosx_events.m
+++ b/osdep/macosx_events.m
@@ -324,7 +324,7 @@ void cocoa_put_key_with_modifiers(int keycode, int modifiers)
-(BOOL)handleKey:(int)key withMask:(int)mask andMapping:(NSDictionary *)mapping
{
int mpkey = [mapping[@(key)] intValue];
- return [self handleMPKey:mpkey withMask:mpkey];
+ return [self handleMPKey:mpkey withMask:mask];
}
- (NSEvent*)handleKey:(NSEvent *)event