aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMemphiz <memphis@machzwo.de>2014-03-02 22:07:59 +0100
committerMemphiz <memphis@machzwo.de>2014-03-02 22:07:59 +0100
commitcd5aba3d2e03b094723a680405ab9b5d1931d806 (patch)
tree11ecf5176a75c6170895b1f439ec3d6f9c454cad
parentc1978437caa1d6c44e5e3d83f97acddeab439e31 (diff)
[ios] - only use the native keyboard if tvout is not used (native keyboard doesn't work with hdmi/tvout on ios) - fixes #14966
-rw-r--r--xbmc/guilib/GUIKeyboardFactory.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/xbmc/guilib/GUIKeyboardFactory.cpp b/xbmc/guilib/GUIKeyboardFactory.cpp
index 1f6d1581f1..0a3b583c57 100644
--- a/xbmc/guilib/GUIKeyboardFactory.cpp
+++ b/xbmc/guilib/GUIKeyboardFactory.cpp
@@ -32,6 +32,7 @@
#include "dialogs/GUIDialogKeyboardGeneric.h"
#if defined(TARGET_DARWIN_IOS)
#include "osx/ios/IOSKeyboard.h"
+#include "windowing/WindowingFactory.h"
#endif
CGUIKeyboard *CGUIKeyboardFactory::g_activedKeyboard = NULL;
@@ -93,7 +94,8 @@ bool CGUIKeyboardFactory::ShowAndGetInput(CStdString& aTextString, const CVarian
headingStr = g_localizeStrings.Get((uint32_t)heading.asInteger());
#if defined(TARGET_DARWIN_IOS) && !defined(TARGET_DARWIN_IOS_ATV2)
- kb = new CIOSKeyboard();
+ if (g_Windowing.GetCurrentScreen() == 0)
+ kb = new CIOSKeyboard();
#endif
if(!kb)