mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-28 14:29:25 +08:00
macosx_events: fix modifiers handling with media keys
This was caused by a typo. Regression from add7c2955d.
Fixes #213
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user