]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/vout.m
* Mac OS X: intercept and respond to user-configured VLC hotkeys, rather
[vlc] / modules / gui / macosx / vout.m
index 63cd013f568ec4023f7b211bcdef56d38905fedd..ea68589cdcb4e8da5c61a6050ace0b0bb464a041 100644 (file)
@@ -973,6 +973,12 @@ static void QTFreePicture( vout_thread_t *p_vout, picture_t *p_pic )
     return( YES );
 }
 
+- (BOOL)performKeyEquivalent:(NSEvent *)o_event
+{
+    return [(VLCApplication *) [VLCApplication sharedApplication]
+            hasDefinedShortcutKey:o_event];
+}
+
 - (void)keyDown:(NSEvent *)o_event
 {
     unichar key = 0;