From 956e88f23eaeae6251abe1e4029442cf052228fe Mon Sep 17 00:00:00 2001 From: Richard Moe Gustavsen Date: Wed, 24 Sep 2014 15:00:36 +0200 Subject: [PATCH] QIOSInputContext: change keyboard rect when focus window changes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since keyboard rect should be in window coordinates, it needs to change when focus window changes. Change-Id: I052aa5cadf182841d7c4eb114ebd1ea5317ff39c Reviewed-by: Tor Arne Vestbø --- src/plugins/platforms/ios/qiosinputcontext.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/platforms/ios/qiosinputcontext.mm b/src/plugins/platforms/ios/qiosinputcontext.mm index 55dd88f86d..79fe33ce82 100644 --- a/src/plugins/platforms/ios/qiosinputcontext.mm +++ b/src/plugins/platforms/ios/qiosinputcontext.mm @@ -424,6 +424,7 @@ void QIOSInputContext::focusWindowChanged(QWindow *focusWindow) reset(); + [m_keyboardListener handleKeyboardRectChanged]; if (m_keyboardListener->m_keyboardVisibleAndDocked) scrollToCursor(); }