[vlc-commits] macosx/SPMediaKeyTap: update list of collaborating apps (close #8644)
Felix Paul Kühne
git at videolan.org
Mon May 20 19:47:30 CEST 2013
vlc/vlc-2.0 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Mon May 20 19:34:04 2013 +0200| [c70a7e4763b93baaa3202fec186ed7b50af764c2] | committer: Felix Paul Kühne
macosx/SPMediaKeyTap: update list of collaborating apps (close #8644)
(cherry picked from commit 4eaf633347e554cb83121b06623dbcba1ea36c3f)
Conflicts:
modules/gui/macosx/SPMediaKeyTap.m
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=c70a7e4763b93baaa3202fec186ed7b50af764c2
---
modules/gui/macosx/SPMediaKeyTap.m | 50 +++++++++++++++++++-----------------
1 file changed, 27 insertions(+), 23 deletions(-)
diff --git a/modules/gui/macosx/SPMediaKeyTap.m b/modules/gui/macosx/SPMediaKeyTap.m
index 1402640..4fb91d4 100644
--- a/modules/gui/macosx/SPMediaKeyTap.m
+++ b/modules/gui/macosx/SPMediaKeyTap.m
@@ -132,31 +132,35 @@ static CGEventRef tapEventCallback(CGEventTapProxy proxy, CGEventType type, CGEv
+ (NSArray*)defaultMediaKeyUserBundleIdentifiers;
{
return [NSArray arrayWithObjects:
- [[NSBundle mainBundle] bundleIdentifier], // your app
- @"com.spotify.client",
- @"com.apple.iTunes",
- @"com.apple.QuickTimePlayerX",
- @"com.apple.quicktimeplayer",
- @"com.apple.iWork.Keynote",
- @"com.apple.iPhoto",
- @"org.videolan.vlc",
- @"com.apple.Aperture",
- @"com.plexsquared.Plex",
- @"com.soundcloud.desktop",
- @"org.niltsh.MPlayerX",
- @"com.ilabs.PandorasHelper",
- @"com.mahasoftware.pandabar",
- @"com.bitcartel.pandorajam",
- @"org.clementine-player.clementine",
- @"fm.last.Last.fm",
- @"com.beatport.BeatportPro",
- @"com.Timenut.SongKey",
- @"com.macromedia.fireworks", // the tap messes up their mouse input
- nil
- ];
+ [[NSBundle mainBundle] bundleIdentifier], // your app
+ @"com.spotify.client",
+ @"com.apple.iTunes",
+ @"com.apple.QuickTimePlayerX",
+ @"com.apple.quicktimeplayer",
+ @"com.apple.iWork.Keynote",
+ @"com.apple.iPhoto",
+ @"org.videolan.vlc",
+ @"com.apple.Aperture",
+ @"com.plexsquared.Plex",
+ @"com.soundcloud.desktop",
+ @"org.niltsh.MPlayerX",
+ @"com.ilabs.PandorasHelper",
+ @"com.mahasoftware.pandabar",
+ @"com.bitcartel.pandorajam",
+ @"org.clementine-player.clementine",
+ @"fm.last.Last.fm",
+ @"fm.last.Scrobbler",
+ @"com.beatport.BeatportPro",
+ @"com.Timenut.SongKey",
+ @"com.macromedia.fireworks", // the tap messes up their mouse input
+ @"at.justp.Theremin",
+ @"ru.ya.themblsha.YandexMusic",
+ @"com.jriver.MediaCenter18",
+ @"com.jriver.MediaCenter19",
+ @"com.jriver.MediaCenter20",
+ nil];
}
-
-(BOOL)shouldInterceptMediaKeyEvents;
{
BOOL shouldIntercept = NO;
More information about the vlc-commits
mailing list