diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2013-08-30 19:46:48 +0200 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2013-08-30 19:49:30 +0200 |
commit | 462e6f281a66ad8d8bfcfc9a342d365ccc28121f (patch) | |
tree | cc1f2674d8ff6faac6c3ee3ca976a49a916252c0 /osdep/macosx_application_objc.h | |
parent | c89b162462d37b06d1d2f78379c8d4fc9bf57c81 (diff) | |
download | mpv-462e6f281a66ad8d8bfcfc9a342d365ccc28121f.tar.bz2 mpv-462e6f281a66ad8d8bfcfc9a342d365ccc28121f.tar.xz |
cocoa: let the core handle key repeats
Report key down and key up modifiers to the core so that it can issue it's
own key repeats (instead of relying on Cocoa's ones).
Diffstat (limited to 'osdep/macosx_application_objc.h')
-rw-r--r-- | osdep/macosx_application_objc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/osdep/macosx_application_objc.h b/osdep/macosx_application_objc.h index 1af64dbcab..53d00b2ab4 100644 --- a/osdep/macosx_application_objc.h +++ b/osdep/macosx_application_objc.h @@ -22,7 +22,7 @@ @interface EventsResponder : NSObject <HIDRemoteDelegate> - (BOOL)handleMediaKey:(NSEvent *)event; -- (NSEvent *)handleKeyDown:(NSEvent *)event; +- (NSEvent *)handleKey:(NSEvent *)event; - (void)startAppleRemote; - (void)stopAppleRemote; - (void)startMediaKeys; |