Commit f48ad230 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

macosx: Close embedded if fullscreen ended.

parent faae87f6
...@@ -976,8 +976,7 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable, ...@@ -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 */ /* 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: Probably fade the window In and Out */
/* FIXME: fix core */ /* FIXME: fix core */
if(![self isFullscreen]) [o_embeddedwindow performSelector:@selector(orderOut:) withObject:nil afterDelay:1.5];
[o_window performSelector:@selector(orderOut:) withObject:nil afterDelay:1.5];
[super closeVout]; [super closeVout];
[o_window setAcceptsMouseMovedEvents: NO]; [o_window setAcceptsMouseMovedEvents: NO];
......
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