QIOSInputContext: change keyboard rect when focus window changes

Since keyboard rect should be in window coordinates, it needs to
change when focus window changes.

Change-Id: I052aa5cadf182841d7c4eb114ebd1ea5317ff39c
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
This commit is contained in:
Richard Moe Gustavsen 2014-09-24 15:00:36 +02:00
parent bd1e52db33
commit 956e88f23e

View File

@ -424,6 +424,7 @@ void QIOSInputContext::focusWindowChanged(QWindow *focusWindow)
reset();
[m_keyboardListener handleKeyboardRectChanged];
if (m_keyboardListener->m_keyboardVisibleAndDocked)
scrollToCursor();
}