From 00a08af9f61fae9c602c29ea9c73f8c3543ba8a7 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 5 Sep 2013 07:36:35 +0200 Subject: macosx_events: fix modifiers handling with media keys This was caused by a typo. Regression from add7c2955df. Fixes #213 --- osdep/macosx_events.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'osdep') 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 -- cgit v1.2.3