[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:43:38 CEST 2013


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

macosx: fix behaviour when closing black main window in native fullscreen (fixes #9566)
(cherry picked from commit e949b3288bc58de51364d7b147ca2a0b32be1372)

Signed-off-by: David Fuhrmann <david.fuhrmann at googlemail.com>

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

 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