From: Pierre d'Herbemont Date: Tue, 8 Jul 2008 00:38:44 +0000 (+0200) Subject: macosx: Don't attempt to close the window in fullscreen. X-Git-Tag: 0.9.0-test2~117 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=03a1a92155013ac0312100a2ba7dda6de3eb244c;p=vlc macosx: Don't attempt to close the window in fullscreen. --- 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]; }