From 0aac8bc5ad0fd49f288ecf18346bd10af35247c1 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 30 May 2013 10:37:09 +0200 Subject: cocoa_common: fix native-fs state saving `opts->fs = VO_FALSE` was forgotten --- video/out/cocoa_common.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'video') diff --git a/video/out/cocoa_common.m b/video/out/cocoa_common.m index c977932513..8cb34c0825 100644 --- a/video/out/cocoa_common.m +++ b/video/out/cocoa_common.m @@ -652,12 +652,13 @@ int vo_cocoa_cgl_color_size(struct vo *vo) if (opts->native_fs) { if (!opts->fs) { - opts->fs = VO_TRUE; vo_cocoa_set_cursor_visibility(false); [self setContentResizeIncrements:NSMakeSize(1, 1)]; + opts->fs = VO_TRUE; } else { vo_cocoa_set_cursor_visibility(true); [self setContentAspectRatio:s->current_video_size]; + opts->fs = VO_FALSE; } [self toggleFullScreen:nil]; -- cgit v1.2.3