osx_notifications: Show notification only if VLC in background, cleanup
authorMarvin Scholz <epirat07@gmail.com>
Thu, 22 Oct 2015 16:18:51 +0000 (18:18 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 23 Oct 2015 09:28:02 +0000 (11:28 +0200)
commita4baa14604589df63243a32cd9ca97236eee4d4c
tree4b6c1f3c5cc74a5bb4755ffdc566712e39e9c48e
parent13747555fdff4d2b1b8ec95153c86b15525ddaa7
osx_notifications: Show notification only if VLC in background, cleanup

This cleans up unnecessary code which could be replaced by a much simple
check to determine if VLC is in foreground or not.
Add a missing release.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/notify/osx_notifications.m