osx_notifications: Use active state notifications for compatibility with OS X <10.10
authorMarvin Scholz <epirat07@gmail.com>
Fri, 23 Oct 2015 10:13:23 +0000 (12:13 +0200)
committerFelix Paul Kühne <fkuehne@videolan.org>
Fri, 23 Oct 2015 10:50:30 +0000 (12:50 +0200)
commit80cada9e776c3ef0339c1f2c424b4322f84cdfa1
tree5624e1285d264a8e76f21d21cae184592909f5d0
parent16742c47904f7d2560a6299a358b58ab47494c1d
osx_notifications: Use active state notifications for compatibility with OS X <10.10

This restores the code that used notifications to determine the app state.
Additionally the inital state is not active, as we get a notification if the
app switches to active after opening.

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
modules/notify/osx_notifications.m