]> git.sesse.net Git - vlc/commitdiff
macosx: Close embedded if fullscreen ended.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 12 Jul 2008 12:09:22 +0000 (14:09 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 12 Jul 2008 15:36:27 +0000 (17:36 +0200)
modules/gui/macosx/vout.m

index 65822210e5c77aaa77d9a70035edd7589da397ce..aca5b877862e6543f32e949fa2d988e048807b14 100644 (file)
@@ -976,8 +976,7 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
     /* Don't close the window yet, wait a bit to see if a new input is poping up */
     /* FIXME: Probably fade the window In and Out */
     /* FIXME: fix core */
-    if(![self isFullscreen])
-        [o_window performSelector:@selector(orderOut:) withObject:nil afterDelay:1.5];
+    [o_embeddedwindow performSelector:@selector(orderOut:) withObject:nil afterDelay:1.5];
 
     [super closeVout];
     [o_window setAcceptsMouseMovedEvents: NO];