[vlc-commits] macosx: fixed quit through Apple Events

Felix Paul Kühne git at videolan.org
Sun Apr 10 20:17:30 CEST 2011


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sun Apr 10 20:02:04 2011 +0200| [dfbfd8e16fb2ed9ab68465c40c101b7daa103a0d] | committer: Felix Paul Kühne

macosx: fixed quit through Apple Events

aka Dock, App Switcher, AppleScript, etc. Fixed #4009

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

 modules/gui/macosx/intf.m |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index f1a50d9..6c6461e 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -2974,6 +2974,7 @@ end:
 // see [af97f24d528acab89969d6541d83f17ce1ecd580] that introduced the removal of setjmp() and longjmp() 
 - (void)terminate:(id)sender
 {
+    [self activateIgnoringOtherApps:YES];
     [self stop:sender];
 }
 



More information about the vlc-commits mailing list