From ca353fcf9268fc4630143db21bd1b3e7c806b889 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 9 Oct 2014 21:02:47 +0200 Subject: libmpv/cocoa: make global events work and get rid of is_cplayer After @frau's split of macosx_events from macosx_application, `is_cplayer' is not needed anymore. At the moment only global events such as Media Keys and Apple Remote work, because the VO-level ones were hardcoded to be disabled. (that will be fix in a later commit ). --- player/client.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'player/client.c') diff --git a/player/client.c b/player/client.c index ca4317d89e..ff94c517a6 100644 --- a/player/client.c +++ b/player/client.c @@ -405,6 +405,8 @@ mpv_handle *mpv_create(void) mpv_set_option_string(ctx, "input-default-bindings", "no"); mpv_set_option_string(ctx, "input-vo-keyboard", "no"); mpv_set_option_string(ctx, "input-lirc", "no"); + mpv_set_option_string(ctx, "input-media-keys", "no"); + mpv_set_option_string(ctx, "input-appleremote", "no"); } else { mp_destroy(mpctx); } -- cgit v1.2.3