summaryrefslogtreecommitdiffstats
path: root/osdep/macosx_application.m
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2013-07-03 22:19:26 +0200
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2013-07-03 22:25:45 +0200
commit8af51bd3fe671b9e43dae16250cc2cf9379d60ef (patch)
tree4e90fcf98c3e20f64580a06b782588d1f068df91 /osdep/macosx_application.m
parent56b9dcaabb03498c2ec8e5a00b048582cba0c732 (diff)
downloadmpv-8af51bd3fe671b9e43dae16250cc2cf9379d60ef.tar.bz2
mpv-8af51bd3fe671b9e43dae16250cc2cf9379d60ef.tar.xz
cocoa: remove usage of mp_fifo
Update Cocoa parts to remove usage of the mp_fifo internal API to send events to the core and use the input context directly. This is to follow commits the work in commits 70a8079c and d603e73c.
Diffstat (limited to 'osdep/macosx_application.m')
-rw-r--r--osdep/macosx_application.m6
1 files changed, 0 insertions, 6 deletions
diff --git a/osdep/macosx_application.m b/osdep/macosx_application.m
index f3fb5db3a5..a2718b1bf9 100644
--- a/osdep/macosx_application.m
+++ b/osdep/macosx_application.m
@@ -114,7 +114,6 @@ static NSString *escape_loadfile_name(NSString *input)
@synthesize willStopOnOpenEvent = _will_stop_on_open_event;
@synthesize inputContext = _input_context;
-@synthesize keyFIFO = _key_fifo;
@synthesize iqueue = _iqueue;
@synthesize eventsResponder = _events_responder;
@synthesize menuItems = _menu_items;
@@ -391,11 +390,6 @@ void cocoa_set_input_context(struct input_ctx *input_context)
mpv_shared_app().inputContext = input_context;
}
-void cocoa_set_key_fifo(struct mp_fifo *key_fifo)
-{
- mpv_shared_app().keyFIFO = key_fifo;
-}
-
void cocoa_post_fake_event(void)
{
NSEvent* event = [NSEvent otherEventWithType:NSApplicationDefined