From 03a1a92155013ac0312100a2ba7dda6de3eb244c Mon Sep 17 00:00:00 2001 From: Pierre d'Herbemont Date: Tue, 8 Jul 2008 02:38:44 +0200 Subject: [PATCH] macosx: Don't attempt to close the window in fullscreen. --- modules/gui/macosx/vout.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/gui/macosx/vout.m b/modules/gui/macosx/vout.m index dfc756be68..883040988f 100644 --- a/modules/gui/macosx/vout.m +++ b/modules/gui/macosx/vout.m @@ -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]; } -- 2.39.2