Do not send overlay geometry to text input.
This commit is contained in:
parent
8947ece98f
commit
374e949182
1 changed files with 1 additions and 1 deletions
|
@ -625,7 +625,7 @@ void InputMethod::updateInputPanelState()
|
||||||
const bool bottomKeyboard = m_inputClient && m_inputClient->mode() != InputPanelV1Client::Overlay && m_inputClient->isShown();
|
const bool bottomKeyboard = m_inputClient && m_inputClient->mode() != InputPanelV1Client::Overlay && m_inputClient->isShown();
|
||||||
m_trackedClient->setVirtualKeyboardGeometry(bottomKeyboard ? m_inputClient->inputGeometry() : QRect());
|
m_trackedClient->setVirtualKeyboardGeometry(bottomKeyboard ? m_inputClient->inputGeometry() : QRect());
|
||||||
|
|
||||||
if (m_inputClient) {
|
if (m_inputClient && m_inputClient->mode() != InputPanelV1Client::Overlay) {
|
||||||
overlap = m_trackedClient->frameGeometry() & m_inputClient->inputGeometry();
|
overlap = m_trackedClient->frameGeometry() & m_inputClient->inputGeometry();
|
||||||
overlap.moveTo(m_trackedClient->mapToLocal(overlap.topLeft()));
|
overlap.moveTo(m_trackedClient->mapToLocal(overlap.topLeft()));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue