Commit e4acf924 authored by Felix Paul Kühne's avatar Felix Paul Kühne

vout_ios: use a broader background definition (refs #9431)

parent ed90a6c3
......@@ -485,7 +485,7 @@ static void OpenglESSwap(vlc_gl_t *gl)
- (void)applicationStateChanged:(NSNotification *)notification
{
if ([[notification name] isEqualToString: UIApplicationWillResignActiveNotification])
if ([[notification name] isEqualToString:UIApplicationWillResignActiveNotification] || [[o_notification name] isEqualToString:UIApplicationDidEnterBackgroundNotification] || [[o_notification name] isEqualToString:UIApplicationWillTerminateNotification])
_appActive = NO;
else
_appActive = YES;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment