diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2013-09-05 07:36:35 +0200 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2013-09-05 07:38:37 +0200 |
commit | 00a08af9f61fae9c602c29ea9c73f8c3543ba8a7 (patch) | |
tree | 58ee1cc5811a6317ef4846db98510156d86ef135 /osdep/macosx_events.m | |
parent | 88503a12c2fcdbe02e7ee06fcc6315cf163ec468 (diff) | |
download | mpv-00a08af9f61fae9c602c29ea9c73f8c3543ba8a7.tar.bz2 mpv-00a08af9f61fae9c602c29ea9c73f8c3543ba8a7.tar.xz |
macosx_events: fix modifiers handling with media keys
This was caused by a typo. Regression from add7c2955df.
Fixes #213
Diffstat (limited to 'osdep/macosx_events.m')
-rw-r--r-- | osdep/macosx_events.m | 2 |
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 |