summaryrefslogtreecommitdiffstats
path: root/osdep/macosx_events.h
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2014-10-09 21:23:54 +0200
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2014-10-09 22:14:41 +0200
commitdba2b90d9a34055e98c9216bd305a5cb4fb01a3a (patch)
treeda5d649961ccc1ad9d3b812da24678b5433970a8 /osdep/macosx_events.h
parent58f62891fa99c8d4d0ebfc9c719134af753366e2 (diff)
downloadmpv-dba2b90d9a34055e98c9216bd305a5cb4fb01a3a.tar.bz2
mpv-dba2b90d9a34055e98c9216bd305a5cb4fb01a3a.tar.xz
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.
Diffstat (limited to 'osdep/macosx_events.h')
-rw-r--r--osdep/macosx_events.h2
1 files changed, 2 insertions, 0 deletions
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);