]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/vout.m
macosx: Don't attempt to close the window in fullscreen.
[vlc] / modules / gui / macosx / vout.m
index dfc756be681df0097963482ddabab013a256e051..883040988faea1c5b59c5aa9df1ea1d13e514fdb 100644 (file)
@@ -991,7 +991,8 @@ 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 */
-    [o_window performSelector:@selector(orderOut:) withObject:nil afterDelay:1.5];
+    if(![self isFullscreen])
+        [o_window performSelector:@selector(orderOut:) withObject:nil afterDelay:1.5];
 
     [super closeVout];
 }