Commit 374e9491 authored by Xuetian Weng's avatar Xuetian Weng Committed by Xuetian Weng
Browse files

Do not send overlay geometry to text input.

parent 8947ece9
Pipeline #162703 passed with stage
in 28 minutes and 24 seconds
......@@ -625,7 +625,7 @@ void InputMethod::updateInputPanelState()
const bool bottomKeyboard = m_inputClient && m_inputClient->mode() != InputPanelV1Client::Overlay && m_inputClient->isShown();
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.moveTo(m_trackedClient->mapToLocal(overlap.topLeft()));
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment