1
mirror of https://github.com/mpv-player/mpv synced 2024-12-24 07:33:46 +01:00

cocoa_common: fix native-fs state saving

`opts->fs = VO_FALSE` was forgotten
This commit is contained in:
Stefano Pigozzi 2013-05-30 10:37:09 +02:00
parent a31422bbfe
commit 0aac8bc5ad

View File

@ -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];