diff options
author | FRAU KOUJIRO <frau@doushio.com> | 2014-04-15 19:33:58 -0700 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2014-08-06 09:31:58 +0200 |
commit | 4fc8dcde2ae1525c8ea52d04ed0e7768decf901a (patch) | |
tree | db8e9389bf85d5bc11b4327e175970d1e62653f0 /osdep/macosx_events.m | |
parent | 78a2d99de130cc8e6adc18c5d7a987c5c8b2d2b3 (diff) | |
download | mpv-4fc8dcde2ae1525c8ea52d04ed0e7768decf901a.tar.bz2 mpv-4fc8dcde2ae1525c8ea52d04ed0e7768decf901a.tar.xz |
cocoa: move set_input_context to macosx_events
Diffstat (limited to 'osdep/macosx_events.m')
-rw-r--r-- | osdep/macosx_events.m | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/osdep/macosx_events.m b/osdep/macosx_events.m index c8da555fa1..0b3eeb1d48 100644 --- a/osdep/macosx_events.m +++ b/osdep/macosx_events.m @@ -188,6 +188,11 @@ void cocoa_put_key_with_modifiers(int keycode, int modifiers) cocoa_put_key(keycode); } +void cocoa_set_input_context(struct input_ctx *input_context) +{ + [EventsResponder sharedInstance].inputContext = input_context; +} + @implementation EventsResponder + (EventsResponder *)sharedInstance |