From dba2b90d9a34055e98c9216bd305a5cb4fb01a3a Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 9 Oct 2014 21:23:54 +0200 Subject: libmpv/cocoa: don't start the event monitor The event monitor is used to get keyboard events when there is no window, but since it is a global monitor to the current process, we don't want it in a library setting. --- osdep/macosx_events.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'osdep/macosx_events.h') diff --git a/osdep/macosx_events.h b/osdep/macosx_events.h index f3dfbdfea4..34d653c3de 100644 --- a/osdep/macosx_events.h +++ b/osdep/macosx_events.h @@ -26,6 +26,8 @@ struct input_ctx; void cocoa_put_key(int keycode); void cocoa_put_key_with_modifiers(int keycode, int modifiers); +void cocoa_start_event_monitor(void); + void cocoa_init_apple_remote(void); void cocoa_uninit_apple_remote(void); -- cgit v1.2.3