Commit 03a1a921 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

macosx: Don't attempt to close the window in fullscreen.

parent b24328a6
......@@ -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];
}
......
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