From 8af51bd3fe671b9e43dae16250cc2cf9379d60ef Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Wed, 3 Jul 2013 22:19:26 +0200 Subject: 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. --- osdep/macosx_application.m | 6 ------ 1 file changed, 6 deletions(-) (limited to 'osdep/macosx_application.m') 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 -- cgit v1.2.3