X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fgui%2Fmacosx%2FMainWindow.m;h=e96b6adc83003683cb1ceb5b24cc53a2ac9b3220;hb=f664fa80bc043fc6d73021710d26c28be7344f18;hp=63b7bb8eaf1eb96eb458b67ead6bdc8c2f0951d0;hpb=e90bcdbda56b6218e723942e1226857dc37b8a82;p=vlc diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m index 63b7bb8eaf..e96b6adc83 100644 --- a/modules/gui/macosx/MainWindow.m +++ b/modules/gui/macosx/MainWindow.m @@ -745,7 +745,7 @@ static VLCMainWindow *_o_sharedInstance = nil; if (!b_fullscreen) frameBeforePlayback = [self frame]; } else { - if (!b_nonembedded && !b_fullscreen && frameBeforePlayback.size.width > 0 && frameBeforePlayback.size.height > 0) + if (!b_nonembedded && (!b_nativeFullscreenMode || (b_nativeFullscreenMode && !b_fullscreen)) && frameBeforePlayback.size.width > 0 && frameBeforePlayback.size.height > 0) [[self animator] setFrame:frameBeforePlayback display:YES]; // update fs button to reflect state for next startup