From f48ad230e977b7f04729f6c0ecb4e44bdb7276d9 Mon Sep 17 00:00:00 2001 From: Pierre d'Herbemont Date: Sat, 12 Jul 2008 14:09:22 +0200 Subject: [PATCH] macosx: Close embedded if fullscreen ended. --- modules/gui/macosx/vout.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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]; -- 2.39.2