Commit 05811535 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

Apply 1 suggestion(s) to 1 file(s)

parent 92d3cb2f
...@@ -168,6 +168,10 @@ void InputMethod::clientAdded(AbstractClient* client) ...@@ -168,6 +168,10 @@ void InputMethod::clientAdded(AbstractClient* client)
} }
}); });
connect(m_inputClient, &AbstractClient::frameGeometryChanged, this, refreshFrame); connect(m_inputClient, &AbstractClient::frameGeometryChanged, this, refreshFrame);
// Current code have a assumption that InputMethod started by the kwin is virtual keyboard,
// InputMethod::hide sends out a deactivate signal to input-method client, this is not desired
// when we support input methods like ibus which can show and hide surfaces/windows as they please
// and are not exactly Virtual keyboards.
connect(m_inputClient, &AbstractClient::windowHidden, this, &InputMethod::hide); connect(m_inputClient, &AbstractClient::windowHidden, this, &InputMethod::hide);
connect(m_inputClient, &AbstractClient::windowClosed, this, &InputMethod::hide); connect(m_inputClient, &AbstractClient::windowClosed, this, &InputMethod::hide);
} }
......
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