From: Pierre d'Herbemont Date: Sat, 12 Jul 2008 12:09:22 +0000 (+0200) Subject: macosx: Close embedded if fullscreen ended. X-Git-Tag: 0.9.0-test2~49 X-Git-Url: https://git.sesse.net/?p=vlc;a=commitdiff_plain;h=f48ad230e977b7f04729f6c0ecb4e44bdb7276d9 macosx: Close embedded if fullscreen ended. --- diff --git a/modules/gui/macosx/vout.m b/modules/gui/macosx/vout.m index 65822210e5..aca5b87786 100644 --- a/modules/gui/macosx/vout.m +++ b/modules/gui/macosx/vout.m @@ -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];