From 8db90e18d3e5bb524a1a611f6dd03ba78f315552 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 26 May 2013 11:03:10 +0200 Subject: cocoa_common: authohide menu/dock in fullscreen This simple fix makes it possible to access the MainManu and Dock when in fullscreen when not using `--native-fs`. --- video/out/cocoa_common.m | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/video/out/cocoa_common.m b/video/out/cocoa_common.m index a4b816b094..cf0f84085b 100644 --- a/video/out/cocoa_common.m +++ b/video/out/cocoa_common.m @@ -722,8 +722,9 @@ int vo_cocoa_cgl_color_size(struct vo *vo) opts->fs = VO_TRUE; update_screen_info(self.videoOutput); if (current_screen_has_dock_or_menubar(self.videoOutput)) - [NSApp setPresentationOptions:NSApplicationPresentationHideDock| - NSApplicationPresentationHideMenuBar]; + [NSApp setPresentationOptions: + NSApplicationPresentationAutoHideDock| + NSApplicationPresentationAutoHideMenuBar]; s->windowed_frame = [self frame]; [self setHasShadow:NO]; [self setStyleMask:s->fullscreen_mask]; -- cgit v1.2.3