--warning

This commit is contained in:
Aleix Pol 2021-05-04 23:07:16 +02:00
parent 5bd938f0f0
commit 4aefbdd175

View file

@ -197,8 +197,8 @@ void InputMethod::handleFocusedSurfaceChanged()
if (m_trackedClient != focusedClient) {
if (m_trackedClient) {
m_trackedClient->setVirtualKeyboardGeometry(QRect());
disconnect(m_trackedClient, &AbstractClient::frameGeometryChanged, this, &InputMethod::updateInputPanelState);
}
disconnect(m_trackedClient, &AbstractClient::frameGeometryChanged, this, &InputMethod::updateInputPanelState);
m_trackedClient = focusedClient;
connect(m_trackedClient, &AbstractClient::frameGeometryChanged, this, &InputMethod::updateInputPanelState, Qt::QueuedConnection);
}