From 1651d96583422d7e991ad5fde7c61ea3a89d2366 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sat, 4 Oct 2014 19:10:36 +0200 Subject: cocoa: don't reset presentation options on uninit This doesn't look to be needed anymore. Fullscreening with both the NSView and the NSWindow API works correctly. I guess this was forgotten in from older code which changed presentation options directly for going fullscreen. --- video/out/cocoa_common.m | 1 - 1 file changed, 1 deletion(-) (limited to 'video/out') diff --git a/video/out/cocoa_common.m b/video/out/cocoa_common.m index be180cc0e7..eac930125a 100644 --- a/video/out/cocoa_common.m +++ b/video/out/cocoa_common.m @@ -164,7 +164,6 @@ void vo_cocoa_uninit(struct vo *vo) struct vo_cocoa_state *s = vo->cocoa; enable_power_management(vo); cocoa_rm_fs_screen_profile_observer(vo); - [NSApp setPresentationOptions:NSApplicationPresentationDefault]; // XXX: It looks like there are some circular retain cycles for the // video view / video window that cause them to not be deallocated, -- cgit v1.2.3