[vlc-devel] commit: macosx: Close embedded if fullscreen ended. (Pierre d'Herbemont )
git version control
git at videolan.org
Sat Jul 12 17:34:12 CEST 2008
vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sat Jul 12 14:09:22 2008 +0200| [f48ad230e977b7f04729f6c0ecb4e44bdb7276d9]
macosx: Close embedded if fullscreen ended.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f48ad230e977b7f04729f6c0ecb4e44bdb7276d9
---
modules/gui/macosx/vout.m | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/modules/gui/macosx/vout.m b/modules/gui/macosx/vout.m
index 6582221..aca5b87 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];
More information about the vlc-devel
mailing list