[vlc-commits] macosx: fix behaviour when closing black main window in native fullscreen (fixes #9566)

David Fuhrmann git at videolan.org
Thu Oct 3 14:42:39 CEST 2013


vlc | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Thu Oct  3 13:28:19 2013 +0200| [e949b3288bc58de51364d7b147ca2a0b32be1372] | committer: David Fuhrmann

macosx: fix behaviour when closing black main window in native fullscreen (fixes #9566)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e949b3288bc58de51364d7b147ca2a0b32be1372
---

 modules/gui/macosx/Windows.m |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/macosx/Windows.m b/modules/gui/macosx/Windows.m
index 6094363..2e06f02 100644
--- a/modules/gui/macosx/Windows.m
+++ b/modules/gui/macosx/Windows.m
@@ -337,7 +337,7 @@
     if (!([self styleMask] & NSTitledWindowMask)) {
         [[NSNotificationCenter defaultCenter] postNotificationName:NSWindowWillCloseNotification object:self];
 
-        [self orderOut: sender];
+        [self close];
     } else
         [super performClose: sender];
 }



More information about the vlc-commits mailing list