vlc | branch: master | David Fuhrmann <[email protected]> | Fri Sep 
14 20:09:09 2012 +0200| [de54e767f196a5d99f9973fbcd3fce8ee164af67] | committer: 
David Fuhrmann

macosx: only restore frame before playback in embedded case

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=de54e767f196a5d99f9973fbcd3fce8ee164af67
---

 modules/gui/macosx/MainWindow.m |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m
index 23615b2..fd6f506 100644
--- a/modules/gui/macosx/MainWindow.m
+++ b/modules/gui/macosx/MainWindow.m
@@ -1715,7 +1715,8 @@ static VLCMainWindow *_o_sharedInstance = nil;
         // look for 'start at fullscreen'
         [[VLCMain sharedInstance] fullscreenChanged];
     } else {
-        [[self animator] setFrame:frameBeforePlayback display:YES];
+        if (!b_nonembedded)
+            [[self animator] setFrame:frameBeforePlayback display:YES];
 
         [self makeFirstResponder: nil];
         [o_detached_video_window orderOut: nil];

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to