summaryrefslogtreecommitdiffstats
path: root/video/out/cocoa_common.m
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/cocoa_common.m')
-rw-r--r--video/out/cocoa_common.m8
1 files changed, 0 insertions, 8 deletions
diff --git a/video/out/cocoa_common.m b/video/out/cocoa_common.m
index bab2c41b0d..5e295ec8ef 100644
--- a/video/out/cocoa_common.m
+++ b/video/out/cocoa_common.m
@@ -810,9 +810,6 @@ static int vo_cocoa_fullscreen(struct vo *vo)
return VO_NOTIMPL;
[s->window toggleFullScreen:nil];
- // for whatever reason sometimes cocoa doesn't create an up event on
- // the fullscreen input key
- cocoa_put_key(MP_INPUT_RELEASE_ALL);
return VO_TRUE;
}
@@ -955,11 +952,6 @@ int vo_cocoa_control(struct vo *vo, int *events, int request, void *arg)
mp_input_set_mouse_pos(self.vout->input_ctx, point.x, point.y);
}
-- (void)putKeyEvent:(NSEvent*)event
-{
- cocoa_put_key_event(event);
-}
-
- (void)putKey:(int)mpkey withModifiers:(int)modifiers
{
cocoa_put_key_with_modifiers(mpkey, modifiers);