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) ...@@ -485,7 +485,7 @@ static void OpenglESSwap(vlc_gl_t *gl)
- (void)applicationStateChanged:(NSNotification *)notification - (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; _appActive = NO;
else else
_appActive = YES; _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