Commit 5f7320bd authored by David Fuhrmann's avatar David Fuhrmann

macosx: fix visual fullscreen glitch when exiting VLC on Mavericks (close #9604)

parent 85aac6d9
......@@ -881,7 +881,7 @@ static VLCMain *_o_sharedMainInstance = nil;
int returnedValue = 0;
/* always exit fullscreen on quit, otherwise we get ugly artifacts on the next launch */
if (b_nativeFullscreenMode) {
if (b_nativeFullscreenMode && [o_mainwindow fullscreen]) {
[o_mainwindow toggleFullScreen: self];
[NSApp setPresentationOptions:(NSApplicationPresentationDefault)];
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment