aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMemphiz <memphis@machzwo.de>2015-10-18 18:02:54 +0200
committerMemphiz <memphis@machzwo.de>2015-10-19 17:34:36 +0200
commita8ef832157163325219089369c554eaa1d5d6e19 (patch)
tree4ef9f7dd40b4ec42cd08f5faef9715f17f131bb4
parent02e7013889e08d608363f2909ebeccdb9ea3b7c9 (diff)
[ios9] - fix switching to external screen (either cable adapter or airplay mirroring) - wrong orientation again - this mess never ends - someone need s to rewrite the whole windowing code to get those orientations straight
-rw-r--r--xbmc/osx/IOSScreenManager.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/osx/IOSScreenManager.mm b/xbmc/osx/IOSScreenManager.mm
index adf6c6fd53..27b871422a 100644
--- a/xbmc/osx/IOSScreenManager.mm
+++ b/xbmc/osx/IOSScreenManager.mm
@@ -110,7 +110,7 @@ static CEvent screenChangeEvent;
{
// portrait on external screen means its landscape for xbmc
#if __IPHONE_8_0
- if (CDarwinUtils::GetIOSVersion() >= 8.0)
+ if (CDarwinUtils::GetIOSVersion() >= 8.0 && CDarwinUtils::GetIOSVersion() < 9.0)
[g_xbmcController activateScreen:newScreen withOrientation:UIInterfaceOrientationLandscapeLeft];// will attach the screen to xbmc mainwindow
else
#endif