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.m3
1 files changed, 2 insertions, 1 deletions
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];