[vlc-commits] macosx: fixed quit through Apple Events
Felix Paul Kühne
git at videolan.org
Sun Apr 10 19:36:26 CEST 2011
vlc/vlc-1.1 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sun Apr 10 19:35:59 2011 +0200| [1f42fd242094161b1ba37d58c550f3ffdb6829eb] | 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/vlc-1.1.git/?a=commit;h=1f42fd242094161b1ba37d58c550f3ffdb6829eb
---
NEWS | 1 +
modules/gui/macosx/intf.m | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/NEWS b/NEWS
index 3700cfd..65f945e 100644
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,7 @@ Mac OS X Interface:
* improved Apple Remote handling
* layout fixes in the Preferences and Controls windows
* fixed incomplete list of hotkeys in the Preferences dialog
+ * fixed Quit through Apple Events (Dock menu, App Switcher, AppleScript, etc.)
Mac OS X Port:
* fixed Growl local notification plugin
diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index 116023f..6ec961f 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -2932,6 +2932,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