summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2014-10-04 19:10:36 +0200
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2014-10-04 19:10:36 +0200
commit1651d96583422d7e991ad5fde7c61ea3a89d2366 (patch)
tree5c4faa30bf1500a2a9e33fc0f7df20b25aa96d1c /video
parente75ce6c86930ff74cc40b6d3cb2b65b3d48fc8b8 (diff)
downloadmpv-1651d96583422d7e991ad5fde7c61ea3a89d2366.tar.bz2
mpv-1651d96583422d7e991ad5fde7c61ea3a89d2366.tar.xz
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.
Diffstat (limited to 'video')
-rw-r--r--video/out/cocoa_common.m1
1 files changed, 0 insertions, 1 deletions
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,