diff options
Diffstat (limited to 'osdep')
-rw-r--r-- | osdep/macosx_application.m | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/osdep/macosx_application.m b/osdep/macosx_application.m index 598941490d..665a04b222 100644 --- a/osdep/macosx_application.m +++ b/osdep/macosx_application.m @@ -118,6 +118,14 @@ static NSString *escape_loadfile_name(NSString *input) @synthesize eventsResponder = _events_responder; @synthesize menuItems = _menu_items; +- (void)sendEvent:(NSEvent *)event +{ + [super sendEvent:event]; + + if (self.inputContext) + mp_input_wakeup(self.inputContext); +} + - (id)init { if (self = [super init]) { |